Question: Use matlab function ode45 to solve the first order differential equation dy/dt = e^0.1 t cos (y^2) - y ln (1 + t) under the

Use matlab function ode45 to solve the first order differential equation dy/dt = e^0.1 t cos (y^2) - y ln (1 + t) under the initial condition y(0) = -1.5 and plot its solution curve for 0 lessthanorequalto t lessthanorequalto 5. Also compute y (3.5). (compare the output with Project 1 using Euler approximation). Use ode45 to solve the second order nonlinear differential equation y" - (y')^2 + sin (y) = e^-t under the initial condition: y(0) = 2 and y' (0) = 0.6, for 0 lessthanorequalto t lessthanorequalto 10. Plot both the solution and its derivative in the same graph window. You should submit the matlab codes for your program and function, the matlab run log showing the value x(3.5) in part 1, and the two plots. See the posted sample for more details
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
