The problem is to determine how much the spherical tank must be filled to contain 30m3 if
R = 3m. The volume is calculated according to equation: V = (𝜋ℎ^2*[3𝑅 − ℎ])/3
Use the secant method. Print the approximations, the relative error. Ensure that the calculation ends when the error is less than a certain value.
Find the correct solutions using the appropriate matlab function. Print approximations and errors.
Bonus: show graphically the dependance of the Volume V on the Height h. f(x).