Question: Write a Matlab function my Sin 3 x that takes as input x and the number N to estimate s i n ( 3 x
Write a Matlab function my Sin that takes as input and the number to estimate using
~~
and returns as outputs the estimate for together with the corresponding true relative error. You may use the Matlab function factorial to calculate the factorial in the formula. For the true value of use Matlab's buildin function Do not print out any results to screen or do any plotting within the function.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
