HW1S - Homework 1 1. [2pts] Derive Taylor series expansion...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Homework 1 1. [2pts] Derive Taylor series expansion for the following function from x i = 0: f ( x ) = e x . Solution: Since f ( n ) ( x i ) = e x i = 1 for n = 1 , 2 ,... and f ( x i ) = 1, we have f ( x ) = f ( x i ) + X n =1 f ( n ) ( x i ) n ! ( x - x i ) n = X n =0 x n n ! 2. For the following function: f ( x ) = sin x (a) [2pts] Derive zero to third order Taylor series approximation of f ( x i +1 ) about a point x i = 0 . 9 with a step size h = x i +1 - x i = 0 . 1. (b) [2pts] Compute the true value of f ( x i +1 ) directly from the given function and find true relative errors for each approximation. Discuss the results. Solution: (a) Zero order Taylor series approximation f (1) = sin 1 = sin 0 . 9 = 0 . 78333 First order Taylor series approximation f (1) = sin 1 = sin 0 . 9 + cos 0 . 9 × 0 . 1 = 0 . 84549 Second order Taylor series approximation f (1) = sin 1 = sin 0 . 9 + cos 0 . 9 × 0 . 1 - sin 0 . 9 × 0 . 1 2 2! = 0
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/14/2011 for the course EAME 250 taught by Professor Lee during the Spring '11 term at Case Western.

Page1 / 2

HW1S - Homework 1 1. [2pts] Derive Taylor series expansion...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online