Use Matlab to find three decimal places the largest value of x before the error in the exp(x) ~ 1 + x + x²/2 + x³/6 exceeds 3.128 percent. The largest value of x is?
1) Set a range with resolution .001 in order to match the required accuracy.
2) Calculate the left hand side and the right hand side.
3) Calculate the error and get it's absolute.
4) Divide the absolute value of the error by ex to get the percent error.
5) Checking if the percent error exceeds the limit or not.
COMMAND WINDOW:
1.171
Get Answers For Free
Most questions answered within 1 hours.