Question: Write a matlab program to solve the above question. You have a spherical storage tank containing oil. The tank has a diameter of 6 ft.

Write a matlab program to solve the above question.
You have a spherical storage tank containing oil. The tank has a diameter of 6 ft. You are asked to calculate the height h to which a dipstick 8 ft long would be wet with oil when immersed in the tank when it contains 6 ft^3 of oil. The equation that gives the h of the liquid in the spherical tank for the given volume and radius is given by f(h) = h^3 -9h^2 + 3.8197 = 0 Use the Newton-Raphson method of finding squareroots of equations to find the height h to which the dipstick wet with oil. Calculate the iterations to estimate the squareroot of the above equation Initial guess is one and delta = 0.0009
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
