Question: You can find the programs mentioned in the problem on GitHub: https://github.com/AlejGarcia/NM4P/tree/master/MatlabRevised Please solve using MATLAB 3. The balle program ovcrestimates the range and time

You can find the programs mentioned in the problem on GitHub: https://github.com/AlejGarcia/NM4P/tree/master/MatlabRevised
Please solve using MATLAB
3. The balle program ovcrestimates the range and time of flight (Figure 2.4). Fix this bit of sloppy programming: Compute a corrected maximum range and time of fight by interpolating between the last three values of r using the intrpf function from Section 1.4. Measure the improvement in the computed range and time of flight when thcre is no air resistance. Take an initial height of 0 m, initial spced of 50 m/s, angle of -45, and try a variety of values for the time step T. [Computer] 4. Take your program from the previous exercise and create two new versions that use the Euler-Cromer and midpoint methods. With no air resistance, find the largest value ofr that gives you a 1% error in the horizontal range (take y1-0 m, v,-50 m/s, and = 45). Comment on the performance of the three numerical methods. [Oomputer 3. The balle program ovcrestimates the range and time of flight (Figure 2.4). Fix this bit of sloppy programming: Compute a corrected maximum range and time of fight by interpolating between the last three values of r using the intrpf function from Section 1.4. Measure the improvement in the computed range and time of flight when thcre is no air resistance. Take an initial height of 0 m, initial spced of 50 m/s, angle of -45, and try a variety of values for the time step T. [Computer] 4. Take your program from the previous exercise and create two new versions that use the Euler-Cromer and midpoint methods. With no air resistance, find the largest value ofr that gives you a 1% error in the horizontal range (take y1-0 m, v,-50 m/s, and = 45). Comment on the performance of the three numerical methods. [Oomputer
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
