Cost=2N
N=Cost/2
Say we want to determine how many people we can invite to a party for a given budget ($ input). We want one snack and one soda for each person. The snack cost is $1 and the soda cost is $1 per can for $2 total.
Write a function that outputs how many people you can invite (the range) based on the amount of money you can spend (the domain $)? What does the function tell us for the following budgets (How many people can you invite) $100? $126?, and $166?
1 answer