00:01
So in this problem, we're looking at catering costs, and we're told that the cost to hire a caterer depends on the amount of people attending.
00:09
If we have 100 people, the cost is $20 per person, and we're told that we're maxing out at 100.
00:16
We won't have more than 100 people for this problem.
00:19
For each person that we have, that's less than 100, the costs increased by $5 per person that's added.
00:27
So we're going to let x be the number of people less than a hundred that are attending.
00:35
So we're given this example that if 95 people attend, we get x equal to 5 because there's 5 less people than 100 attending.
00:44
So the first part, part a, asks us to write a function, n of x, giving the number of guests.
00:51
So we're looking at n of x for the number of guests.
00:55
We want to take into account how many less people there will be than 100.
01:01
So 100 is our max.
01:03
We subtract that x value.
01:06
That can be anything from 0 to 100.
01:10
And this is our n -of -x equation.
01:14
So this will take into account how many people are there...