The equation relating the cost \( C \) to the number of people \( P \) can be expressed as:
\[ C = 40P \]
To find the cost of admission for 13 people, substitute \( P = 13 \) into the equation:
\[ C = 40 \times 13 \]
Calculating this:
\[ C = 520 \]
Therefore, the cost of admission for 13 people is 520 dollars.
So the final answers are:
equation: \( C = 40P \)
cost for 13 people: 520 dollars