It costs $150 per hour to rent a boat. Write a function to represent this situation where x represents the number of hours the boat is rented.

f(x)=

150x

To write a function that represents the cost of renting a boat, where x represents the number of hours, we can use the formula:

f(x) = 150x

In this function, f(x) represents the total cost of renting the boat for x number of hours, and 150 represents the cost per hour. Multiplying the number of hours (x) by the cost per hour ($150) gives us the total cost.

f(x) = 150x

In this function, x represents the number of hours the boat is rented and 150 represents the cost per hour to rent the boat.