Consider the equation y'=t/y, y(0)=1
1. Solve this IVP in explicit form – you’ll have to pick either+ or - (from the square root property) based on the initialcondition. Write out the solution, step by step, in comments at thetop of your MATLAB script. Plot the analytical solution on theinterval [0, 2] for t using MATLAB. Include the graph in yourreport.
2. Using ode45 Use this function to plot the numerical solutionon the interval [0, 2] for t.
3. Use the MATLAB code dsolve to solve the solution. Display theresults
Consider the equation y'=t/y, y(0)=1 1. Solve this IVP in explicit form – you’ll have to pick either + or - (from the sq
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am