1.An Introduction to Programmingand Numerical Methods in MATLAB2. S.R. Otto and J.P. DenierAn Introduction toProgramming andNumerical Methodsin MATLABWith 111 Figures 3.…