Let's define the function for the cost of renting the steam cleaner as follows:
If the steam cleaner is returned on time, the cost is $17.50 times the number of days rented.
If the steam cleaner is returned late, the cost is ($17.50 times the number of days rented) plus the $10 late charge.
Using this function, we can calculate the cost of renting the steam cleaner on each day and sum them up to get the total cost. Here's how we can do it for the given scenario:
Tuesday: Rented for 1 day, returned on time. Cost = $17.50.
Wednesday: Rented for 1 day, returned late. Cost = ($17.50 + $10) = $27.50.
Thursday: Rented for 1 day, returned on time. Cost = $17.50.
Friday: Rented for 1 day, returned late. Cost = ($17.50 + $10) = $27.50.
Total cost = $17.50 + $27.50 + $17.50 + $27.50 = $90.00
Therefore, the total cost of renting the steam cleaner for the given scenario is $90.00.