Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

See this cell for the main calculations in that notebook. You might also be interested in this worksheet, which involves some custom code at the top, which I hope we can polish and submit to Sage sometime.

Right now, we don't have an easy way to make a plot clickable to create initial conditions. You can set initial conditions using sliders, though. Help is welcome to make plots clickable!

See this cell for the main calculations in that notebook. You might also be interested in this worksheet, which involves some custom code at the top, which I hope we can polish and submit to Sage sometime.

Right now, we don't have an easy way to make a plot clickable to create initial conditions. You can set initial conditions using sliders, though. Help is welcome to make plots clickable!

You might be interested in the MAA PREP course, which introduces faculty to using Sage in the classroom, helps them design interacts, etc. See http://www.maa.org/prep/2012/sage.html

See this cell for the main calculations in that notebook.

# 2d vector plot
f(x,y)=(1.25*x-0.25*x*y, 0.05*x*y-0.1*y)
plot_vector_field(f, (x, 0, 10), (y, 0, 10)).show()

# 3d vector plot
g(x,y,z)=(x,y,z)
plot_vector_field3d(g, (x,-3,3),(y,-3,3),(z,-3,3)).show()

# interactive sin plot
@interact
def _(a=(0,5)):
    plot(sin(a+x),(x,0,10)).show()

# interactive vector plot
@interact
def _(r=(1,4), a=(0.01,0.5), c=(0.01,0.5), d=(0.01,0.5)):
    f(x,y)=(r*x - a*x*y, a*c*x*y - d*y)
    plot_vector_field(f,(x,0,20),(y,0,20)).show()

You might also be interested in this worksheet, which involves some custom code at the top, which I hope we can polish and submit to Sage sometime.

Right now, we don't have an easy way to make a plot clickable to create initial conditions. You can set initial conditions using sliders, though. Help is welcome to make plots clickable!

You might be interested in the MAA PREP course, which introduces faculty to using Sage in the classroom, helps them design interacts, etc. See http://www.maa.org/prep/2012/sage.html