Menu
support@authoritypapers.com
+1(805) 568 7317

using matlab please exercise 3 40 the taylor series expansion for sin x is 1 quot 21 5151280

using Matlab please


Exercise #3 (40%) The Taylor series expansion for sin(x) is (-1)21 (2n1)! F(x) sin(x) = x- 3! 5! where x is in radians. Writ Exercise #3 (40%) The Taylor series expansion for sin(x) is (-1)”21 (2n1)! F(x) sin(x) = x- 3! 5! where x is in radians. Write a program in a script file that determines sin(x) using the Taylor series expansion: a) Ask the user to type a value for an angle in degrees. Hint: to convert angle from degree to radian use the following formula: radians= 180 degrees b) Use a for loop for adding the terms of the Taylor series: (-1)2n+1 is the n term in the series, then the sum as n-2:100 and a If n is defined Sn of = (2n+1)! the n terms is S Sa-1 + , and Fix+S Outside the loop, define a, =- and F = x +S S= In cach iteration calculate the estimated error E given by E Stop adding terms when E

"Order a similar paper and get 15% discount on your first order with us
Use the following coupon
"GET15"

Order Now