You are on page 1of 3
THE UNIVERSITY OF THE WEST INDIES semester [J semestertt C1. supplamertaySummer Schoot tio1 5 Originating Campus: Cave Hitt, §=— «EO Mona Oo ‘St Augustine Mode: OnCampus © ByDistance C1 Course Code and Tite: MATH3424— Numerical Methods Date: April 27, 2015. Time: 1-3 p.m. Duration: 2hrs Paper No: Materials required: Answer booklet: Normal 1 speciat ‘Not required 1 Calculator: Programmable [] Non Programmable C1 (where applicable) Multiple Choice answer sheets: numerical CO alphabeticat 120 0 1-100 0 Ausiliary/Other material(s)— Please speciy: Actuartal Tables Candidates are permitted to bring the following items to their desks: Pen, Pencil, Ruler, ID card Instructions to Candidates: this paperhas 3__panes& 6 questions. ‘You must answer ALL questions. ee all workings. The man for conaions or parts of cunston ar given in parentheses ( Questions are NOT equally weighted. Candidates are reminded that the examiners shall take into account the proper use of the English Language in determining the mark for each response. 1) What will be the output of the following MatLab Codes. (4p) 6p) 2) Compute the Lagrange interpotating polynomial for the following functions, going through the specified points. Also find an upper bound for the error in the given intervals. @) (x)= x2, the interpolation points are x =—1, x, =0, xp¢=1 and give an upper bound on the error in the interval {-2,2). (sp) b) f(x)=sin(x), the interpolation points are x =—f, x; =0, x= § give an upper bound on the error in the interval |—2, 1]. 6p) 3) Recall that if f(x) € C[a, b), h= 5 and x,=a +ih fori =1,2,...,n, then by using the “Trapezoidal Rule we have, : ar ; aya [rare [ roar Styensse- LEeo ; Eta. fa or Prove the following. : : Sem re ens [Me oF ars tS jem ene, at i (0p) 4) Solve the following system of equations, EE E)() 5)Prove the Trapezoidal Rule; ie. show that if oo < x9 < x; <00 then (am. = wens - -. f Sonddx= BSAip(x9)4 fe FF Is 6) Use the bisection method to approximate py to the given functions. a) Let f(x)=x°—x—1. Set a, =1, by =2 with p, = °$* and continue with the bisection method to compute p, £6). op) (0p) Gp) b) Let f(x) =x*—1. Set a, =0, by = § with p, = 2f% and continue with the bisection method to compute 7, Gp)

You might also like