The cost of a room in a hotel is partially fixed and partially varying with the hours stayed. A person staying for 10 hours paid ₹ 600 and a person staying for 15 hours paid ₹ 840. Find the algebraic expression representing this situation.
x+10y=600;x+15y=840
Let x denote the fixed cost and y denote the variable cost/hr.
Here, fixed cost + (variable cost/hr × no. of hours stayed) = Amount paid
For the first person, as he stayed for 10hrs
x+10y=600
For the second person, as he stayed for 15hrs
x+15y=840
Thus, the required equations are x+10y=600 and x+15y=840