[Solved]Write Function Part C Matlab Plot Also Find True Percentage Relative Errors Methods B C Q37113280
Write a function for part C in Matlab and plot it. also findthe true percentage relative errors for methods a.) b.) andc.)
P1) The velocity u of a racing car can be modelled by the differential equation shown below 1 du u dt If the initial velocity of the car (at 0s) is 1 m/s, determine the velocity after 0.75 s using: (a) Integral calculus (b) Euler’s method with a step size of 0.25 s (c) Ralston’s method with a step size of 0.25 s Plot all velocities (at all steps) for all the above methods on the same graph (using MATLAB/Excel). For each numerical method, calculate the true percentage relative errors at all steps. What do you need to calculate the percentage approximate relative errors for each method? No need to calculate the percentage approximate relative errors. Show transcribed image text P1) The velocity u of a racing car can be modelled by the differential equation shown below 1 du u dt If the initial velocity of the car (at 0s) is 1 m/s, determine the velocity after 0.75 s using: (a) Integral calculus (b) Euler’s method with a step size of 0.25 s (c) Ralston’s method with a step size of 0.25 s Plot all velocities (at all steps) for all the above methods on the same graph (using MATLAB/Excel). For each numerical method, calculate the true percentage relative errors at all steps. What do you need to calculate the percentage approximate relative errors for each method? No need to calculate the percentage approximate relative errors.
Expert Answer
Answer to Write a function for part C in Matlab and plot it. also find the true percentage relative errors for methods a.) b.) and… . . .
OR

