Q4. Form the pair of linear equations in the following problems and find their solutions (if they exist) by any algebraic method :
(i) 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 a student A takes food for 20 days she has to pay Rs 1000 as hostel charges whereas a student B, who takes food for 26 days, pays Rs 1180 as hostel charges. Find the fixed charges and the cost of food per day.
Let the fixed charge be x and the cost of food per day is y,
Now, According to the question
Now subtracting (1) from (2),
Putting this value in (1)
Hence, the Fixed charge is Rs 400 and the cost of food per day is Rs 30.