Please help me write the MATLAB code for problem 1.
1- Using Taylor's series around o = 0, write a MATLAB function that computes the function
(-1)^z (n!)^2
with tolerance 10^(-12). You are not allowed to use exponentiation, trigonometric, or transcendental functions (you will receive 0 if you do so). The function must be runnable when I copy and paste it into MATLAB (look at the example in this module, you will receive 0 if it does not work). Below the program, write the output of f(0.5) and f(1) with at least 10 significant digits (hint: the function should be equal to the MATLAB function besselj(0,2x)). Make sure your function does not output anything else other than the final answer. You must show me the program running during office hours.