Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1.2-a Computers can only add, subtract, multiply and divide. So, how do they calculate a function such as sin(x)? They convert the function to
1.2-a Computers can only add, subtract, multiply and divide. So, how do they calculate a function such as sin(x)? They convert the function to a polynomial using its Taylors Expansion. Remember, given a differential function f(x), its Taylor's polynomial approximation at x=h is: f" (h) f(x) = f(h) + f'(h)(x h) + - (xh) + ... 2! Use the MATLAB function taylortool('sin(x)') to study the Taylor Series Approximation of a sin function. Find the Taylor expansion of ex. (Use exp(x) in MATLAB) Find the Taylor expansion of sin(x). How many terms N do you need for a good approximation?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Taylor expansion of sinx ...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