Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
CMPMA2022/2004
Page 1/6
Set: Dr T.A.Etchells
1. (i)
Describe, with the aid of a sketch, the Newton-Raphson iterative method for solving single variable equations and develop the Newton-Raphson iterative formula. Describe a situation in which the Newton-Raphson method will fail to produce a solution for a particular equation. [5] Show that the equation x e 2 x sin x = 4 has at least one solution in the interval [0,1]. (A graph alone will not gain full marks) [4]
(ii)
iterative
formula
for
the
[3] (iv) Using a starting value of x0 = 1 , find each of the Newton-Raphson iterates x1 , x2 , x3 , x4 and x5 , to 10 significant figures. [2] (v) Write down the solution to the equation x e 2 x sin x = 4 , correct to 6 significant figures. Confirm that this solution is correct to 6 significant figures. [3]
(vi) Explain why x0 = 0 is not a good choice of starting value the Newton Raphson method for the equation x e 2 x sin x = 4 . [3] Total [20]
2. (i) (ii)
Describe the power method for finding the dominant eigenvector and eigenvalue of a square matrix A. [5] Using a starting vector of v 0 = [1,1,1] , apply the power method once to the matrix 1 3 1 2 3 4 2 4 5 to obtain and approximation to the dominant eigenvector v1 . [3]
(iii) Continue to apply the power method until the approximations to the dominant eigenvector converge to 3 decimal places. Write down the value of the dominant eigenvalue correct to 3 decimal places. [8] (iv) Use the dominant eigenvector found in (iii) to estimate the dominant eigenvalue. [4] Total [20]
CMPMA2022/2004
Page 2/6
Set: Dr T.A.Etchells
3. (a) (i) Describe fully, with reference to a sketch, the modified Euler method for dy solving the first order differential equation = f ( x, y ) , with initial dx conditions y ( x0 ) = y0 . [5]
(ii) Given the differential equation
Showing all the steps, use the modified Euler method to find an approximation to the value of y when x = 0.1 , using a step size h = 0.1. [5] (b) Given the system of first order differential equations: dx = x + y 2t dt dy = xy 2 + t dy subject to the initial conditions x0 = 1, y0 = 1, t0 = 0 . Use the modified Euler method, with a step size of 0.1, to find an approximate solution to this system of differential equations when t = 0.1 . [10] Total [20] 4. (a) (i) Given that V is a vector space, write down the two conditions that prove that W is a subspace of V. [2] (ii) Given that all 2x2 matrices that have real elements form a vector space M, show that matrices of the form 0 a b 0 where a, b , form a subspace of M. [3]
[6]
(c) (i) Write down the condition that the set of vectors {v1 , v 2 , v 3 } is a linearly dependent set. [2] (ii) Show that the set of vectors {(0,3,1, 1), (6, 0,5,1), (4, 7,1,3)} form a linearly dependent set in
4
CMPMA2022/2004
Page 3/6
Set: Dr T.A.Etchells
5. (i) Using the function M(a,b,n) in the file Midpoint.mth that can be found in the folder L:\MA200, generate to 10 significant digits 5 approximations of the integral
sin x dx , 0 1 + x2
1
using the composite mid-point rule with 2, 4, 8 and 16 strips respectively. [6] (ii) Use the knowledge that the midpoint rule has order of convergence h 2 to apply Rombergs method once to the 5 approximations calculated above. [5] (iii) State the order of convergence of these new approximations. [2]
(iv) Apply Rombergs method a further 2 times to find a better approximation to x 1 e 0 1 + x 2 dx . [7] Total[20] 6. (i) Describe the shooting method for the solution of boundary value problems for second order ordinary differential equations. [5] Recast the second order differential equation given below into two first order differential equations. d2y dy x + 4 y = 5e 2 x sin x 2 dx dx [4]
For the next part of the question use the Derive 5 Runge-Kutta order four function RK().
(ii)
(iii) Given that y (0) = 0 and y (1) = 0 , use the shooting method with a step size of 0.05 to find a numerical solution to this differential equation in the region x [0,1] such that y (1) = 0 , where < 0.01 . Save this solution in a dfw file as q3iii.dfw on the floppy disk provided, do not attempt to copy it out. Provide a sketch of the solution. [11] Total [20]
CMPMA2022/2004
Page 4/6
Set: Dr T.A.Etchells
(i) Write down the elementary matrix E1 that will perform the row R operation 1 R1 . 2 (ii) Write down the inverse of the elementary matrix E1 .
[2] [1]
(iii) Find the other elementary matrices E2 , E3 , E4 and E5 , such that the product E5 E4 E3 E2 E1 A will reduce A to row-echelon form and determine the rowechelon form of A. [8] (iv) Find the LU decomposition of A, where L is a lower triangular matrix and U is an upper triangular matrix (in row-echelon form). [4] (v) Use the LU decomposition of A to solve the linear system:
x1 2 A x2 = 2 x 3 3
CMPMA2022/2004
Page 5/6
Set: Dr T.A.Etchells
8.
The use of Derive or MATLAB is not allowed in the question, working must be shown to gain full marks.
0 3 2 0 0 2
3 6 9
to row-echelon form. (iii) Use the row-echelon form found in (b) to evaluate
0 1 5
[8]
3 6 9 2 6 1
3 6 9 6 18 3
CMPMA2022/2004
Page 6/6
Set: Dr T.A.Etchells