Question: using MATLAB Calculate the following in a script file. Terminate each line with a semicolon; use disp() to display final answers to the command window.
using MATLAB

Calculate the following in a script file. Terminate each line with a semicolon; use disp() to display final answers to the command window. 1. Approximations of t. For each of the following approximations of T, calculate the value of the approximation and its percent error from the true value. For the true value, use the built-in constant, pi. If you are running the checker, use the following variable naming convention: for the approximate values, pi approx a, pi approx b, etc., and for the percent error values, pct_err_la, pct_err_lb, etc. The checker will also look for the variable phi, which is used in parts b through d. a. 22/7 b. (6/5) 02, where 0 = "the golden mean = (v5 +1)/2 C. 4/vo, where o is the same as in part b 8020 - 801 where is the same as in parts a and b 6020 - 601) USE YOUR HEAD: 0 ONLY HAS TO BE CALCULATED ONCE! A penalty will be applied for unnecessary repetition. e. "Pan-digital form: uses each of the digits 0 through 9 once 4 1 123+28 790+ f. sin (1/555,555 ) x 108 (NOTE: the argument of the sin function is in degrees)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
