online advertising
Loading [MathJax]/jax/output/HTML-CSS/jax.js

Saturday, November 21, 2015

Scientific Computing - Quiz 2 - Question 1,2

Problem:

Question 1:

Consider the function f(t)=cos(t). What is the error bound associated with expanding the function f(t+Δt) about tusing Δt=0.1. In particular, compute the error bound when truncated at the second-derivative (keep only the first two significant-digits).

Question 2:

Consider the function f(t)=cos(t). What is the error bound associated with expanding the function f(t+Δt) about t using Δt=0.1. In particular, compute the error bound when truncated at the third-derivative (keep only the first two significant-digits).

Solution:

Consider the Taylor expansions:

For question 1:

cos(t+Δt)=cos(t)Δtsin(t)Δt22cos(c)
So the error bound is the maximum value of the last term, which is 0.122=0.005

For question 2:

cos(t+Δt)=cos(t)Δtsin(t)Δt22cos(t)+Δt36sin(c)
So the error bound is the maximum value of the last term, which is 0.136=0.00017

No comments:

Post a Comment