Question: 3.5 The sine function can be evaluated by the following 3! 5! Create an M-file to implement this formula so that it com putes and
3.5 The sine function can be evaluated by the following 3! 5! Create an M-file to implement this formula so that it com putes and displays the values of sin as each term in the series is added. In other words, compute and display in sequence the values for 3! sin x = x--+ 84 PROGRAMMING WITH MATLAB up to the order term o ceding, compute and display the percent relative error as f your choosing. For each of the pre- true-series approximation 100% %error true As a test case, employ the program to compute sin(0.9) for up to and including eight terms that is, up to the term x 15/15
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
