information:

(C)Charges $750 for up to 30 people.
(P)Plus $20 per person for each extra person.

question: C dollars is the cost of a party for P people.Find formula that gives C in terms of P.

if p </= 30 , then c = 750

if p >30 then
c = 20 (p -30) + 750

To find the formula that gives the cost (C) in terms of the number of people (P), we need to consider the base charge for up to 30 people and the additional charge for each extra person.

Given information:
Base charge: $750 for up to 30 people (this stays constant)
Additional charge: $20 per person for each extra person (this varies based on the number of people over 30)

Let's break down the formula step by step:

1. First, we need to determine the number of extra people beyond the initial 30:
Extra people = P - 30

2. Next, we calculate the additional charge for the extra people:
Additional charge = $20 * Extra people = $20 * (P - 30)

3. Finally, we add the base charge and the additional charge to get the total cost:
C = Base charge + Additional charge
= $750 + $20 * (P - 30)

Therefore, the formula that gives the cost (C) in terms of the number of people (P) is:
C = $750 + $20 * (P - 30)