Last Updated 10/31/2022

Sage Essentials
Section 8: Differential Equations

Solving Differential Equations: Initial Value Problems (IVP)

If initial values are given, we can solve the DE similarly.

Example 2

Solve the IVP dy dx = x y , y( 4 )=3 .

 

The initial condition is when x=4 , y=3 . It is encoded with the argument ics=[4,3]within the desolve() command.

 

Try this!

Solve the IVP y 3y=6 , y( 0 )=1 .

 


← Previous Example Next Example →