Don't show your face and don't put your name or location online? i'm confused by this question.
Answer:
The probability that you have the disease, given that your test is positive is ≈ 0.0098
Explanation:
This is a conditional probability problem.
Let P(A|B) denote the conditional probability of A given B and it satisfies the equation
- (1) P(A|B) = P(A) × P(B|A) / P(B)
We have the the probabilities:
- P(Testing Positive | Having Disease) =0.99
- P(Testing Negative | Not Having Disease) =0.99
- P(Testing Positive | Not Having Disease) = 1-0.99=0.01
- P(Having Disease) = 0.0001 (striking only one in 10,000 people)
- P(Not Having Disease)= 1 - 0.0001 = 0.9999
<u>We can calculate</u>:
P(Testing Positive) =
P(Having Disease) × P(Testing Positive | Having Disease) + P(Not Having Disease) × P(Testing positive | Not Having Disease ) = 0.0001×0.99 + 0.9999×0.01 =0.010098
<u>from </u><u>(1) </u><u>we have the equation</u>:
P(Having Disease|Testing Positive)=P(Having Disease) × P(Testing Positive | Having Disease)/ P(Testing Positive) = 0.0001×0.99/0.010098≈0.0098
Thus, the probability that you have the disease, given that your test is positive is ≈ 0.0098
Answer:
public class Main
{
// required method
public static void fizzBuzz(){
// looping through 1 to 100
for(int i = 1; i <= 100; i++){
//if number is evenly divisible by both 3 and 5
if(i%3 == 0 && i%5 == 0){
System.out.println("fiz buzz");
}
// if number is divisible by 3
else if (i%3 == 0){
System.out.println("fizz");
}
// if number is divisible by 5
else if (i%5 == 0){
System.out.println("buzz");
}
// if number is not divisible by both 3 and 5
else {
System.out.println(i);
}
}
}
// main method
public static void main(String[] args) {
//calling function
fizzBuzz();
}
}
Explanation:
Any picture of what our talking about
Answer:
Electronic mail is a method of exchanging messages between people using electronic devices. Email entered limited use in the 1960s, but users could only send to users of the same computer, and some early email systems required the author and the recipient to both be online simultaneously, similar to instant messaging.