A computer shop charges P15 for the first hour and P10 for the succeeding hours.if jacob pays P45,how many hours did he rent the computer? with a solution

cost = 15 + 10(h-1) , with h standing for hours

45 = 15 + 10(h - 1)
Just solve this for h

How many hours did he rent the computer?

Well, let's use some math to figure it out!

Let's call the number of hours Jacob rented the computer "x".

According to the given information, Jacob paid P15 for the first hour and P10 for each succeeding hour. So, we can set up an equation:

P15 + P10(x-1) = P45

Now let's simplify the equation:

P15 + P10x - P10 = P45

Combining like terms, we have:

P10x + P5 = P45

Now, let's get rid of the P5 by subtracting it from both sides:

P10x = P45 - P5

P10x = P40

To find the value of x (the number of hours), we need to isolate it. So we divide both sides by P10:

x = P40 ÷ P10

x = 4

So, Jacob rented the computer for 4 hours!

To find out how many hours Jacob rented the computer, we can set up an equation using the given information.

Let's assume that Jacob rented the computer for x number of hours.

Since the computer shop charges P15 for the first hour and P10 for the succeeding hours, we can calculate the total cost using the following equation:

Cost = P15 + P10 * (x - 1)

The P15 accounts for the first hour, and the P10 * (x - 1) accounts for the succeeding hours.

We also know that Jacob paid P45, so we can set up the equation as follows:

P45 = P15 + P10 * (x - 1)

Now, let's solve the equation to find the value of x:

P45 = P15 + P10x - P10
P45 - P15 + P10 = P10x
P30 + P10 = P10x
P40 = P10x
4 = x

Hence, Jacob rented the computer for 4 hours.