Answer:
The probability that a person has the virus given that they have tested positive is P(A|B)=0.032.
The probability that a person does not have the virus given that they have tested negative is P(A'|B')=0.999.
Step-by-step explanation:
a) The probability of B: "the person tests positive" is the sum of:
- The probability that a person has the virus and the test is positive.

- The probability that a person don't have the virus but the test is positive.

Then, the probability of B: "the person tests positive" is

We have

Then

The probability that a person has the virus given that they have tested positive is P(A|B)=0.032.
b) The probability P(A'|B') is

We have

Then

The probability that a person does not have the virus given that they have tested negative is P(A'|B')=0.999.