1.A videoke machine can be rented for P1, 000 for three days, but for the fourth day onwards, an additional cost of P400 per day is added. Represent the cost of renting a videoke machine as a piecewise function of the number of days it is rented.
2.The fee for hiring a guide to explore a cave is P700. A guide can only take care of maximum of 4 persons, and additional guides can be hired as needed. Represent the cost of hiring guides as a function of the number of tourists who wish to explore the cave.
3. The cost of hiring a catering service to serve food for a party is P150 per head for 20 persons or less, P130 per head for 21 to 50 persons, and P110 per head for 51 to 100persons. For 100or more persons, the cost is at P100 per head. Represent the total cost as a piecewise function of the number of attendees of the party.