A spherical storage tank contains oil. The tank has a diameterof 6 feet. You are asked to calculate the height at which an8-foot-long dipstick would be wet with oil when immersed in thetank when it contains 6 ft3 of oil. The equation givingthe height h of the liquid in the spherical tank for the givenvolume and radius is given by:
f(h) = h3−9h2 + 3.8197
Use the secant method to find roots of equations to find theheight at which the dipstick is wet with oil.
Perform three iterations to estimate the root of the equationabove.
Find the absolute relative approximate error at the end of eachiteration and the least correct number of significant digits at theend of each iteration. (h-1= 0.5 and h0 =1)