HW2S - Homework 2 Solution 1. For the following function: f...

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the 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.

Page1 / 3

HW2S - Homework 2 Solution 1. For the following function: f...

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