A part of monthly hostel charges is fixed and the remaining depends on the number of days one has taken food in the mess. When student A takes food for days, she has to pay as hostel charges whereas student B, who takes food for days, pays as hostel charges. Find the fixed charges and the cost of food per day.
Step 1:Obtain the system of equations from the given details:
Let the fixed charge be Rs. and the variable food charge be Rs..
It is given that when student A takes food for days, she has to pay as hostel charges.
Also, student B, who takes food for days, pays as hostel charges.
Step 2: Solve the system of linear equations using the elimination method to obtain the fixed charges and the cost of food per day:
Now, subtract equation (1) from equation (2) to get:
Now, substitute the value of in equation (1) to get:
Hence, the fixed charges are and the cost of food per day is .