Question: Problem 1 (20 points): Create 3 implementations of the error function in a single MatLab code, erf_YourLastName.m: erf (x) = Ia le* dt. V70 1.

Problem 1 (20 points): Create 3 implementations of the error function in a single MatLab code, erf_YourLastName.m: erf (x) = Ia le* dt. V70 1. MATLAB method: Simply use the erf.m function of MATLAB. 2. Monte Carlo method: Use randn.m function to generate N normally distributed random numbers. Your result must be based on the fraction of the generated numbers that fall in the integration interval
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
