Question: using matlab The function sin(x) , where x is given in radians, can be written as a Taylor series by sin(x) =(-1)-mi (2k1)! k=0 Write
using matlab

The function sin(x) , where x is given in radians, can be written as a Taylor series by sin(x) =(-1)-mi (2k1)! k=0 Write a user-defined function that calculates sin(x) by using the Taylor series. For the function name and arguments use y - Tsin(x,n) The input arguments are the angle z in degrees and n the number of terms in the series. Use the function to calculate sin(150) using 3 and 7 terms
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
