Can I get the answer asap Please don't use build in functions Use numpy, pylab
Posted: Thu May 12, 2022 8:51 am
Can I get the answer asap
Please don't use build in functions
Use numpy, pylab
Question 1: Consider the initial value problem, dy = y cost, y(0) = 1 dt a) Find the exact solution. b) Write python code to find the numerical solutions using Euler's method. c) Write python code to find the numerical solutions using RK2. d) Write python code to find the numerical solutions using RK4. e) Repeat the numerical calculations for different values of h. f) Plot the exact and the numerical solutions.
Please don't use build in functions
Use numpy, pylab
Question 1: Consider the initial value problem, dy = y cost, y(0) = 1 dt a) Find the exact solution. b) Write python code to find the numerical solutions using Euler's method. c) Write python code to find the numerical solutions using RK2. d) Write python code to find the numerical solutions using RK4. e) Repeat the numerical calculations for different values of h. f) Plot the exact and the numerical solutions.