Let A,E1, and E2 respectively denote the events that a person has a heart attack, the selected person followed the course of yoga and meditation, and the person adopted the drug prescription.
∴P(A)=0.40
P(E1)=P(E2)=12
P(A|E1)=0.40×0.70=0.28
P(A|E2)=0.40×0.75=0.30
Probability that the patient suffering a heart attack followed a course of meditation and yoga is given by P(E1|A).
P(E1|A)=P(E1)P(A|E1)P(E1)P(A|E1)+P(E2)P(A|E2)
=12×0.2812×0.28+12×0.30
=1429=0.48