A reader send me this problem:
When diving in the ocean, you must consider how much pressure you will experience from diving a certain depth. From the atmosphere, we experience 14.7 pounds per square inch (psi) and for every foot we dive down into the ocean, we experience another 0.44 psi in pressure.
a. Write a function expressing how pressure changes depending on depth underwater.
b. How far can you dive without experiencing more than 58.7 psi of pressure on your body?
My dear, regarding your problem look at my explanation:
a) For each foot in depth the pressure increases by 0.44 psi / foot:
At the surface p = p 0
1 foot in depth p 1 = p 0 + 0.44 (psi)
2 feet in depth p 2 = p 0 + 2 * 0.44 (psi)
3 feet in depth p 3 = p 0 + 3 *0,44 (psi)
….
X feet in depth p = p 0 + X * 0.44 (psi)
The function is p (X) = 14.7 + X * 0.44
b) When the pressure in 58.5 psi, what is the depth?
P (X) = 58.5 = 14.7 + X * 0.44
58.5 – 14.7 = X * 0.44
43.8 = X * 0.44
X = 43.8 : 0.44
X = 99.54 feet