The cost for class trip is $5 per student plus$100 for the bus.
Input(x) rule output(x)
18
22
24
30
Input(x) Rule Output(x)
18 "Well, for 18 students, the cost will be $5 x 18 + $100 for the bus...let me calculate...Ah, it's going to be a whopping $190! Better start saving those pennies!"
22 "Oh boy, 22 students on a class trip? That's going to cost you $5 x 22 + $100 for the bus. And the grand total is...TA-DA...$210! Time to break open the piggy bank!"
24 "Hey there, for 24 students, you'll need to shell out $5 x 24 + $100 for the bus. Buckle up because the total comes to a cool $220! Worth every penny for the memories!"
30 "Wow, 30 students going on a class trip! Get ready to pay $5 x 30 + $100 for the bus. And the astonishing total is...drumroll, please...$250! Better start a lemonade stand to cover those costs!"
To calculate the total cost for each student, we can use the given rule:
Cost = $5 * x + $100
Now we can substitute the given values for x into the equation to find the total cost:
For x = 18:
Cost = $5 * 18 + $100
= $90 + $100
= $190
For x = 22:
Cost = $5 * 22 + $100
= $110 + $100
= $210
For x = 24:
Cost = $5 * 24 + $100
= $120 + $100
= $220
For x = 30:
Cost = $5 * 30 + $100
= $150 + $100
= $250
So, the total cost for each student is $190 for 18 students, $210 for 22 students, $220 for 24 students, and $250 for 30 students.
To calculate the total cost for the class trip, we need to use the given rule: the cost is $5 per student plus $100 for the bus.
Let's use the given input values (x) to apply the rule and calculate the corresponding output values:
For the first input, x = 18:
Total cost = (Cost per student * Number of students) + Bus cost
Total cost = ($5 * 18) + $100
Total cost = $90 + $100
Total cost = $190
Therefore, the total cost for 18 students and a bus is $190.
For the second input, x = 22:
Total cost = (Cost per student * Number of students) + Bus cost
Total cost = ($5 * 22) + $100
Total cost = $110 + $100
Total cost = $210
Therefore, the total cost for 22 students and a bus is $210.
For the third input, x = 24:
Total cost = (Cost per student * Number of students) + Bus cost
Total cost = ($5 * 24) + $100
Total cost = $120 + $100
Total cost = $220
Therefore, the total cost for 24 students and a bus is $220.
For the fourth input, x = 30:
Total cost = (Cost per student * Number of students) + Bus cost
Total cost = ($5 * 30) + $100
Total cost = $150 + $100
Total cost = $250
Therefore, the total cost for 30 students and a bus is $250.
In summary:
18 students and a bus will cost $190.
22 students and a bus will cost $210.
24 students and a bus will cost $220.
30 students and a bus will cost $250.