Docsity

Numerical Analysis for Undergraduate, Exercises of Mathematical Methods for Numerical Analysis and Optimization

Partial preview of the text

Download Numerical Analysis for Undergraduate and more Exercises Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

Math 4329, Test I [e} 1. a. If f(x) = in(cos{z)), find the Taylor polynomial 72{x) of degree 2 which matches f, f’ and f” at a=0. Pu) gare) — Fe)=s xt Pee gee $o)-0 Ch = =) 2 Fly “ dae FG\ = a a -Usiny . b= x b. Use the te) remainder formula to get a reasonable bound on car? the error |f{x) — T)(x)| at x = 0.1. (f.- “rgb = fn, | 1233 2¥ (ep) a < 2 (sa% ayy - Cor? G Grol) 3M fe 2 2. A certain computer stores floating point numbers in a 128-bit word. Ifa floating point number is written in normalized binary form (1.vreerz...9* 2°), it is stored using onc sign bit (Q if the number is positive), then e + 4095 is stored in binary in the next 13 bits, and then the mantissa xxxxx... is stored in the final 114 bits. Show exactly how the number —12.25 would be stored on this computer. Also: approximately how many decimal digits of accuracy docs this machine have? (1,78 = fe ofa < l aoe er3 hee - €00420,.0 3. Compute the experimental order of convergence for a root finder with errors in 8 consecutive iterations of 10-5, 10-7 and 10-**. af _ s.( 4) =. p10 = LEAs \ we — “ply ee