Classical Tutorial 2
Classical Tutorial 2
Tutorial 2
2) You have a spherical storage tank containing oil. The tank has a diameter of 6ft . 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 ft3 of oil.
The equation that gives the height h of the liquid in the spherical tank for the given
volume and radius is given by
to find the height (h) to which the dipstick is wet with oil by using
(a) Newton-Raphson method
(b) Secant method
Conduct three iterations to estimate the root of the above equation. Find the absolute
relative approximate error at the end of each iteration.
3) The concentration of salt x in a home made soap maker is given as a function of time
by
𝑑𝑥
= 37.5 − 3.5𝑥
𝑑𝑡
At the initial time, t=0, the salt concentration in the tank is 50 g/L. Using Euler’s method
and a step size of h=1.5 min, what is the salt concentration after 3 minutes?
4) Solve the system of nonlinear equations using the Multivariate Newton’s Method. Use
the given values as an initial guess (x1, x2) = (1, 2.8).
𝑥12 + x1𝑥2 = 10
𝑥2 + 3𝑥1x22 = 57
5) Solve the following initial value problem over the interval from x = 0 to 2 where
u(x=0)=1, using the fourth order Runge-Kutta method with h = 0.5.
𝑑𝑢
= 𝑢𝑥 2 − 1.1𝑢
𝑑𝑥