This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: Homework 2 Solution 1. For the following function: f ( x ) = 6 x 2 + sin x (a) [1pt] Using the first forward finite divided difference method, compute the approximation of the first derivative of the above function at x i = 1 where the step size h = x i +1 x i = . 1. Repeat the process for h = 0 . 05. (b) [1pt] Find the true value of f (1) analytically. (c) [1pt] Compute the true fractional relative errors for both cases (when h = 0 . 1 and h = 0 . 05) by using the analytical solution from (b). (d) [1pt] Using the second forward finite divided difference method, compute the approx imation of the second derivative of the above function at x i = 1 where the step size h = x i +1 x i = 0 . 1. Repeat the process for h = 0 . 05. (e) [1pt] Find the true value of f 00 (1) analytically. (f) [1pt] Compute the true fractional relative errors for both cases (when h = 0 . 1 and h = 0 . 05) by using the analytical solution from (e)....
View
Full
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.
 Spring '11
 LEE

Click to edit the document details