Answer:
Explanation:
To calculate the cost of a swimming class, we need to find the value of Qs (the quantity of swimming classes).
Given that the equation for the quantity of yoga classes (Qy) is Qy = 22-5Qs, we can substitute the value of Qy (4, as stated in the question) into the equation:
4 = 22 - 5Qs
To solve for Qs, we need to isolate the variable. Let's rearrange the equation:
5Qs = 22 - 4
Simplifying the equation, we get:
5Qs = 18
Now, let's solve for Qs by dividing both sides of the equation by 5:
Qs = 18/5
Qs = 3.6
Since you cannot attend a fraction of a swimming class, we need to round up to the nearest whole number. Therefore, you will need to attend 4 swimming classes.
Now, to find the cost of a swimming class, we divide the total budget ($100) by the quantity of swimming classes (4):
Cost of a swimming class = $100 / 4
Cost of a swimming class = $25
So a swimming class costs $25.