Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Let Pn ( x ) be the degree n Taylor Polynomial for f ( x ) = sin ( x ) about x = 0
Let Pnx be the degree n Taylor Polynomial for fx sinx about x Find n so that Pnx is within
of sinx for all x in
b Create a MATLAB function that takes as input a positive parameter k an interval radius delta call delta something
like delta in MATLAB and a desired error threshold err, and returns a value n for which you can prove that
the n
thorder Taylor Polynomial for fx sinkx about x is within err of sinkx for all x in delta delta Call
your function with suitable input values to reproduce your answer to question a
HINT: Your code does not need to be complicated! By mimicking your theoretical analysis from a you
should only need MATLAB at the very end of this problem, where you can write some code to find the first
n satisfying a certain inequality, rather than looking for it by hand as we did in class
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started