You are on page 1of 2

MATH – 2222 (Numerical Analysis Sessional)

Assignment
2nd Year Even Semester 2022 (20 Series)

1. Determine the real root of 𝑓(𝑥) = −26 + 85𝑥 − 91𝑥 2 + 44𝑥 3 − 8𝑥 4 + 𝑥 5 using Newton-
Raphson method to determine the root if the acceptable approximate error is 0.1%.
2. The velocity 𝑣 of a falling parachutist is given by –
𝑔𝑚 𝑐
−( )𝑡
𝑣= (1 − 𝑒 𝑚 )
𝑐
Where, 𝑔 = 9.8 𝑚/𝑠 2 . For a parachutist with a drag coefficient 𝑐 = 15 𝑘𝑔/𝑠, compute the mass
𝑚 so that the velocity is 𝑣 = 35 𝑚/𝑠 at 𝑡 = 9 𝑠. Use secant method to determine 𝑚 to a level of
𝜀 = 0.1%.
3. Given the equations:
10𝑥1 + 2𝑥2 − 𝑥3 = 27
−3𝑥1 − 6𝑥2 + 2𝑥3 = −61.5
𝑥1 + 𝑥2 + 5𝑥3 = −21.5
Solve by Gauss elimination. Show all steps of the computation. Substitute your results into the
original equations to check your answers.
4. Use Gauss-Jordan elimination to solve:
2𝑥1 + 𝑥2 − 𝑥3 = 1
5𝑥1 + 2𝑥2 + 2𝑥3 = −4
3𝑥1 + 𝑥2 + 𝑥3 = 5
Substitute your results into the original equations to check your answers.
5. (a)Evaluate the polynomial 𝑦 = 𝑥 3 − 7𝑥 2 + 8𝑥 − 0.35 at x = 1.37. Use 3 – digit arithmetic with
chopping. Evaluate the percent relative error.
(b) Repeat (a) but express y as y = ((x − 7)x + 8)x − 0.35. Evaluate the error and compare
with part (a).
6. (a) The function 𝑓(𝑥) = 𝑥 3 + 4𝑥 2 − 10 has a unique root in [1,2]. The function can be re-arranged
to the fixed-point iteration from using simple algebraic manipulation as –
1
(𝑖) 𝑥 = 𝑔1 (𝑥) = √(10 − 𝑥 3 )
2
𝑥 3 + 4𝑥 2 − 10
(𝑖𝑖) 𝑥 = 𝑔2 (𝑥) = 𝑥 −
3𝑥 2 + 8𝑥
(𝑖𝑖𝑖) 𝑥 = 𝑔3 (𝑥) = 𝑥 − 𝑥 3 − 4𝑥 2 + 10
Calculate the root using the above three different forms and discuss on the convergence pattern.
(b) If the above problem is solved using bisection method, estimate the percent error after 5
iterations.
7. The following equation occurs in rocket dynamics:
𝑣+𝑔𝑡

𝑚0 [1 − 𝑒 𝑣𝑟 ] = 𝑢𝑓 𝑡

Where m0 is the mass of the rocket at time t=0, v is its upward velocity at time t seconds, v r is the
relative velocity at which the fuel is ejected, uf is the fuel consumption rate and g is the acceleration
due to gravity. Determine t (to within 1% of the true value) when v=1500 m/sec, m0 = 200,000 kg,
vr=2500 m/sec and uf=3000 kg/sec, using any methods of your choice and also give reasoning
behind your choice.
8. You are designing a spherical tank (shown as Fig.) to hold water for a small village in a developing
country. The volume of liquid it can hold can be computed as
[3𝑅 − ℎ]
𝑉 = 𝜋ℎ2
3
Where V=volume(m3), h= depth of water in tank (m), and R=the tank radius (m).
If R=3m, to what depth must the tank be filled so that it holds 30 m3? Use three iterations of false-
position method to determine your answer. Determine the approximate relative error after each
iteration. Employ initial guesses of 0 and R.

Instructions
1. All the problems should be solved manually (handwritten) and using MATLAB.
2. When solving with MATLAB, the screenshot of the program and output should be provided.
3. There should be one single cover page at the beginning of the report containing necessary
information.

You might also like