HotelInfantesAgres - Bawat tanong, may sagot. Logo

In Math / Junior High School | 2025-07-19

A rental home in Iligan City rents 5,000 pesos for the first 3 nights and an additional 2,000 for each exceeding night. Represent this problem as piecewise function in terms of x.

Asked by palagawadamerodin

Answer (1)

Let x = number of nights stayedLet f(x) = total cost in pesosPiecewise Function[tex] \sf \: f(x) = \begin{cases} \sf5000 & \sf{if \: 1 ≤ x ≤ 3} \\ \sf5000 + 2000(x - 3) & \sf{if \: x > 3}\end{cases}[/tex]ExplanationFor the first 3 nights, fixed ang bayad na ₱5,000Sa 4th night onwards, may dagdag na ₱2,000 per nightGinamit ang (x − 3) dahil yung una mong 3 nights, kasama na sa ₱5,000

Answered by MaximoRykei | 2025-07-23