I've gone back to the basics. The keys seem to be to define the
independent variable, to write both components of the vector field as
functions but not to specify the inputs to the functions in the vector
field definition, and (most critically) to use the parameter identifiers
(ivar, dvars, ti
On 2/25/14 12:25 PM, Jeff Denny wrote:
My students are attempting to use a python function with an if statement in it
as part of a differential equation they are solving with desolve_odeint.
Unfortunately, of course, Sage executes the python function as soon as they
write it and not within th