Let be the number of students who planned a picnic.
Original cost of food for each member γ
Five students failed to attend the picnic. So, students attended the picnic.
New cost of food for each member γ
According of the given condition,
or
or
(Number of students cannot
be negative)
Number of students who attended the picnic
Amount paid by each student for the food