CSC 349A Final: CSC 349 UVic Csc 349a Final Sample 2002
Document Summary
All questions are to be answered on the examination paper. Students must count the number of pages in this examination paper. Before beginning to write, and report any discrepancy immediately to. Derive the taylor polynomial of degree 3 for the function f(x) = 1 (1+x)2 expanded about x0 = 0. ( b ) (8 marks) Use the error term to obtain a bound on the error in using this polynomial to estimate. For what values of the variables are the following expressions subject to subtractive cancellation in floating point arithmetic, and how can they be evaluated more accurately to avoid this problem. (a) (4 marks) B + b 2 - 4 a c. 2 a ( b ) (4 marks) ln(x) - ln(y) ( c ) (4 marks) e-x = 1 - x + x 2. 1 - cos( x ) (use trig identities ) ( e ) (4 marks) x 2+ 4 - 2.