Question: USE PYTHON 5. Find the analytical solution of the following two ODEs and plot the result. Use Euler's method to find the solution VxE[0,50] with
USE PYTHON
5. Find the analytical solution of the following two ODEs and plot the result. Use Euler's method to find the solution VxE[0,50] with a step size of 0.05 and RK2 method with a step-size of 0.1. Compare the analytical solution with the numerical solution. Use Python dy 5 i. -5 [15 marks] dx x 5 y=-=>yFind y(0) & use it as l.c. ii. - - xy-1 dx + x2 - xy dy=0 Find y0) & use it as I.C. = Code and Plot of analytical solution [15 marks] [5 marks]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
