Sp11_Quiz1_A_soln

# Sp11_Quiz1_A_soln - EGN 3420 Quiz 1_A solution Sp 2011...

This preview shows page 1. Sign up to view the full content.

This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: EGN 3420 Quiz 1_A solution Sp 2011 Problem 1 expanded about , find the second order truncated Taylor Series 0.5 to approximate the true value 0.5 . The numerical value of 0.5 is Given the function 0. Use the point a) 0 b) 1 c) 2.5 d) 2.7183 f ( x) e2 x , (3 pts) f '( x0 ) 2e 2 x0 2e 2(0) 2 f ''( x) 4e 2 x , f) none of the above f ( x0 ) e 2 x0 e2(0) 1 f '( x) 2e 2 x , e) 3 f ''( x0 ) 4e 2 x0 4e2(0) 4 f 2 ( x) f ( x0 ) f '( x0 )( x x0 ) f ''( x0 ) ( x x0 ) 2 2! 4 1 2( x 0) ( x 0) 2 2 1 2 x 2 x2 f 2 (0.5) 1 2(0.5) 2(0.5) 2 2.5 The true error a) 2.7183 of the estimate b) 1.7183 c) 0 ET f (0.5) f 2 (0.5) e2(0.5) 2.5 2.7183 2.5 0.2183 0.5 is d) 0.2183 e) ‐0.2817 f) none of the above (2 pts) Problem 2 Consider the following Matlab script file: x=0:2:10 y=1:6 w=x.*y z=x+y+w a=sum(z)/6 After running the script file, the numerical value of a is a) No value because an error message will appear d) 35.2952 e) 31.8333 x = 0 2 4 6 8 10 y = 1 2 3 4 5 6 w = 0 4 12 24 40 60 z = 1 8 19 34 53 76 a = 31.8333 b) 21.3281 f) none of the above c) 14.7103 (5 pts) ...
View Full Document

## This note was uploaded on 06/09/2011 for the course EGM 4320 taught by Professor Klee during the Spring '11 term at University of Central Florida.

Ask a homework question - tutors are online