The Adams Corporation stores spare parts at two warehouses, one in Baltimore and one in Plattsburgh. The number of defective and acceptable spare parts at each warehouse is given below:
Number of spare parts
Warehouse Defective Acceptable Total
Baltimore 28 272 300
Plattsburgh 10 190 200
Total 38 462 500 '
If one of the 500 spare parts kept by the firm is chosen at random (i.e., if each spare part has a 1/500 chance of being chosen), D and A denote the events that the spare part is defective or acceptable, while B and G denote the events that it comes from Baltimore or Plattsburgh. Calculate each of the following probabilities:
a. P (D)
b. P (A and B)
c. P (A or B)
d. P (B|A)
e. P (D|G)
f. P(A|not G)