Current location - Training Enrollment Network - Mathematics courses - In order to encourage residents to save water, a city adopts the method of charging by stages.
In order to encourage residents to save water, a city adopts the method of charging by stages.
1). When 0≤x≤20, the water fee is y=2x.

When x > 20, the water fee is y = 20 * 2+(x-20) * 2.6 = 2.6x-12.

2). How much did Xiao Ming's family pay for water this quarter?

Y =15 * 2+17 * 2+(2.6 * 21-12) = 30+34+42.6 =106.6 (yuan) Xiaoming's family paid this quarter.