
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Math 527/CSCE 561 - Numerical Analysis Tuesday February 14, 2006 Sample Test # 1
f (x) = 2(1 − cos(x)) − x^2 in finite precision arithmetic. a) At what values x 0 will there be a loss of significant bits when the library function for cos is used? Explain in 1-2 sentences. b) Use Taylor series at these points to repair the approximate evaluation for f. What is the approximation? c) Using this repair, is the maximal error if |x| ≤ .1? d) Write the pseudo-code that avoids loss of significance and returns accurate values of f.
e−x^ = x (1) a) How many positive solutions are there? b) Perform three iterations of the bisection method to approximate the smallest solution of this equation. c) Provide the error estimate guaranteed by the theory.