#16007: give solution constants of ODEs unique names
------------------------+----------------------------
   Reporter:  rws       |            Owner:
       Type:  defect    |           Status:  new
   Priority:  major     |        Milestone:  sage-6.2
  Component:  calculus  |         Keywords:
  Merged in:            |          Authors:
  Reviewers:            |  Report Upstream:  N/A
Work issues:            |           Branch:
     Commit:            |     Dependencies:  #8734
   Stopgaps:            |
------------------------+----------------------------
 (this was reported as part of #6882)

 ... solving of ode y'=c*x is not correct, the free variable is messed up
 with a parameter, see [http://groups.google.cz/group/sage-
 devel/browse_thread/thread/e04cbc547095f2ac sage-devel] - thanks for
 Yuri Karadzhov
 {{{
 sage: from sage.calculus.calculus import
 symbolic_expression_from_maxima_string
 sage: symbolic_expression_from_maxima_string('%c')
 c
 sage: c=var('c'); y=function('y',x); eq=diff(y,x)==c*x; eq
 D[0](y)(x) == c*x
 sage: desolve(eq,y,ivar=x)
 1/2*c*x^2 + c
 }}}
 the answer should be something like 1/2*c*x^2^ + c1

 The fix depends on closing #8734. The `c` variable that comes from Sage
 can then be easily recognized, and the constant `c` should then be renamed
 to `c1` or `_C1`.

--
Ticket URL: <http://trac.sagemath.org/ticket/16007>
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 http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to