Question: 3. a) Use a while-loop to write a MATLAB pseudo code which finds the first exponent of 5 which is more than 108. Your

3. a) Use a while-loop to write a MATLAB pseudo code which finds the first exponent of 5 which is more than 108. Your code should also find the actual exponent. Show your MATLAB code and the final answer. b) Use a for-loop to write a MATLAB pseudo code which computes sin(3) using the Taylor series of sin(x)=(-1) -(-1) k=0 x(2k+1) (2k + 1)! with 10 terms in the series. You are allowed to use factorial(k) = k!. Show your MATLAB code and the final answer.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
