Question: it is matlab coding Write a MATLAB script, which asks the user to input the angle xd (in deg) and then approximates sine of the

it is matlab coding
Write a MATLAB script, which asks the user to input the angle xd (in deg) and then approximates sine of the angle using the first 5 terms of Taylor series as follows 5 (-1)n-1 n-1 (2n-1)! Note thatx1n Taylor's equation is in radian, so make sure to do the converson first Start with defining the vector n=1:5 and then use element-wise operation and basic MATLAB commands to calculate the summation. To calculate the factorial of any number, you may use factoial Tunction in MATLAB. Check your code for input xd-38 and compare the result to sind(38) Use tprintr to report the results on the screen
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
