Answer: The value of n is 374. The value of p is 0.21. The value of q is 0.79.
Explanation:
Given : In a clinical trial of a cholesterol drug, 374 subjects were given a placebo, and 21% of them developed headaches.
∴ Sample size :

The probability that cholesterol drug developed headaches :

Then , the probability that cholesterol drug did not develop headaches :

Hence, The value of n is 374.
The value of p is 0.21.
The value of q is 0.79.