ASKSAGE: Sage Q&A Forum - Latest question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sat, 15 Jul 2017 18:16:07 -0500Solving system of ODE gets "ValueError"http://ask.sagemath.org/question/38282/solving-system-of-ode-gets-valueerror/I'm trying to solve a system of ODE using desolve_system but get "ValueError":
t=var('t'); f=function('f')(t); g=function('g')(t);
de1 = diff(f,t) == f*sin(t);
de2 = diff(g,t) == 0;
desolve_system([de1, de2], [f,g])
gets:
Traceback (click to the left of this block for traceback)
...
ValueError: The name "+" is not a valid Python identifier
the problem seems to be sin(t) factor, without it the system solves with no problem. Also desolve(de1, f) has no problem. What is going on here?
Thanks in advance!xuesen_umdSat, 15 Jul 2017 18:16:07 -0500http://ask.sagemath.org/question/38282/