#20900: Plot fails for solution of ordinary diff equation
----------------------------+-----------------------------
Reporter: fccoelho | Type: defect
Status: new | Priority: major
Milestone: sage-7.3 | Component: PLEASE CHANGE
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
----------------------------+-----------------------------
On sage 7.1 plot is failing for this simple function:
{{{
var('t r K')
N = function('N')(t)
diffeq2 = diff(N, t) == r*N*(1-N/K)
sol = desolve(diffeq2,dvar=N, ivar=t)#, ics=(0,10))
plot(sol(r=0.3,K=60, _C=10),(t,0,40))
}}}
The error message is this:
{{{
verbose 0 (3517: plot.py, generate_plot_points) WARNING: When plotting,
failed to evaluate function at 200 points.
verbose 0 (3517: plot.py, generate_plot_points) Last error message:
'unable to simplify to float approximation'
}}}
--
Ticket URL: <https://trac.sagemath.org/ticket/20900>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.