Question: An initial value problem, IVP is defined by a nonlinear autonomous first order differential equation and initial condition given by: d y d t =

An initial value problem, IVP is defined by a nonlinear autonomous first order differential equation and initial condition given by:
dydt=3yln(10y),y(0)=2
The analytical solution for the IVP is given as:
y(t)=105exp(-3t)
Design, write and debug computer codes in either python, Matlab, or any other language you wish (even EXCEL) to do the following:
Obtain a solution to this DE using Euler's method using h=t=0.2
Obtain a solution to this DE using Euler's method using h=t=0.1
Obtain the analytic solution (EQ 2) spaced at t=0.1
The time interval for the solutions is 0,4
If coding (not EXCEL) you should write a function called" diff1; the prototype function is something like: dy=diffl(t,y) this form is generally used in various languages to access solvers -and is good practice. Use this to implement Euler's algorithm (see class notes). You put in y and t for each iteration.
 An initial value problem, IVP is defined by a nonlinear autonomous

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!