Final answer:
The formula for P in terms of q is P = 51.2/q^2.
Step-by-step explanation:
P is inversely proportional to the square of q. This can be written as a formula: P = k/q^2, where k is a constant of proportionality. We can find the value of k using the given information:
When q = 2, P = 12.8
Substituting these values into the formula, we get: 12.8 = k/2^2
Simplifying, we have: 12.8 = k/4
Multiplying both sides by 4, we get: k = 51.2
Therefore, the formula for P in terms of q is: P = 51.2/q^2.