Last Updated 10/28/2022

Sage Essentials
Section 8: Differential Equations

In this section we will learn the commands you need for a typical Differential Equations course.

Direction Field

Example 1

To plot the direction field of a differential equation of the form dy dx =f( x,y ) , we can use the plot_slope_field() command.

 

For example, let us plot the direction field of dy dx = x y over [ 2,2 ]×[ 3,3 ] .

 

Try this!

Plot the direction field of dy dx = cosx siny over [ π,π ]×[ π,π ] .


← Previous Example Next Example →