Assignment 1 - Rel 26FEB2024 Due 08MAR2024
Assignment 1 - Rel 26FEB2024 Due 08MAR2024
QUESTIONS
Q1. (a). Use the formula given below to find the first derivative of the function
f(x) = 3x3-2x2ln(x2+3x-1)+11 at x=1.2 with h=0.11. Compute the true error, relative true error,
and absolute relative true error (%). [Marks 4+5+5=14]
𝐝𝐟 𝐟(𝐱+𝐡)−𝐟(𝐱)
= .
𝐝𝐱 𝐡
𝟑𝐲 𝟐 −𝟐𝐱 𝟐
(b). Given that 𝐔 = & Δx, Δy and Δz denote the errors in x, y and z respectively.
𝟓𝐱𝐲𝐳 𝟑
such that x = y = z = 1.2 and Δx = Δy = Δz = 0.001. Find the maximum error in U. [Marks 12]
Q2. (a). Find one root of the equation 𝐅(𝐲) = 𝟔𝐥𝐧(𝟑𝐲) − 𝟔𝐲 + 𝟗, using Bisection method,
starting with initial guesses of y=1.5 and y=4.5. [Marks 10]
(b). Find one root of the equation F(x)=3e-2x-4x2+3x-5, using Bisection method, starting with
initial guesses of x= -3 and x= 3. [Marks 10]
[For each problem, after the initial guess, conduct 5 iterations to estimate the root of the above
equation. (You can stop iterations if you have not reached the solution at end of fifth iteration).
Calculate the absolute relative approximate error (%) at the end of each iteration.]
Q3. (a). Find one root of the equation F(X)=6X2+ln(2X+3)-55, using Newton-Raphson method,
starting with an initial guess of X= 2.0. [Marks 9]
(b). Consider the nonlinear algebraic equation 2x-x-1.7=0. Using the Newton-Raphson method,
derive an index equation of the form as given below. From the index equation, find the values
of x1, x2, x3, x4, x5 starting with an initial guess of 1.5. [Marks 6+5=11]
[𝟐𝐱𝐧 (𝐱 𝐧 𝐥𝐧𝟐−𝟏)+𝟏.𝟕]
𝐱 𝐧+𝟏 = , where n=0,1,2,3, . . . .
𝟐𝐱𝐧 𝐥𝐧𝟐−𝟏
[For each problem, conduct 5 iterations to estimate the root of the above equation. (You can stop
iterations if you have not reached the solution at end of fifth iteration). Calculate the absolute relative
approximate error (%) at the end of each iteration.]
Q4. Use Successive Over Relaxation method to solve the set of simultaneous equations
[Marks 12]
5x+y-2z=9, 2x+6y+3z=16, x-4y+8z=22.
Use X=1, Y=1 and Z=1 as initial guess and the relaxation parameter value 1.15.
Q5. Use Jacobi method to solve the set of simultaneous equations given in the Problem Q4
above. Use X=3.5, Y= -2.5 and Z=2.5 as initial guesses. [Marks 11]
Q6. Use Gauss-Seidel method to solve the set of simultaneous equations given in the Problem
Q4 above. Use X=1.8, Y= 2.9 and Z=-2.3 as initial guesses. [Marks 11]
[Note : For Q4, Q5 and Q6 above, please conduct at least 5 iterations after the initial guess. If a solution
is not reached within 5 iterations, please stop. Calculate absolute relative approximate error (%) and
write down the solutions at the end of every iteration clearly.]
END