Page 1 of 1

sinx=x−3!x3​+5!x5​−7!x7​+9!x9​−… where x is in radians. This function can be used to approximate the sine of x with incr

Posted: Thu Jul 14, 2022 2:19 pm
by answerhappygod
Sinx X 3 X3 5 X5 7 X7 9 X9 Where X Is In Radians This Function Can Be Used To Approximate The Sine Of X With Incr 1
Sinx X 3 X3 5 X5 7 X7 9 X9 Where X Is In Radians This Function Can Be Used To Approximate The Sine Of X With Incr 1 (8.42 KiB) Viewed 36 times
Sinx X 3 X3 5 X5 7 X7 9 X9 Where X Is In Radians This Function Can Be Used To Approximate The Sine Of X With Incr 2
Sinx X 3 X3 5 X5 7 X7 9 X9 Where X Is In Radians This Function Can Be Used To Approximate The Sine Of X With Incr 2 (20.02 KiB) Viewed 36 times
sinx=x−3!x3​+5!x5​−7!x7​+9!x9​−…
where x is in radians. This function can be used to approximate the sine of x with increasing accuracy as terms are added to the summation. Write a function that accepts two scalar inputs (in order): 1. A value for x (in radians). 2. The number of series sums, N, to use in the series approximation of sin(x). Your function should generate the following three outputs (in order): 1. A column vector of the first N series summations. Consider the first summation to be x−xA3/3 !. 2. A column vector of the magnitude (i.e. absolute value) of the approximate relative error values associated with the first N series summations. Note the "previous approximation" for the first value in this vector will be x. 3. A column vector of the true relative orror values associated with the first N series summations. Use MATLAB's built-in sine function to compute the true value for this error calculation, Note: The first two test cases test the results for the first and second series sums respectively to aid in your deburniref process: