sage: t, g = var('t, g')
sage: y = function('y', t)
sage: eqn = diff(y, t, 2) == g
sage: desolve(eqn, y, ivar = t)
1/2*g*t^2 + k2*t + k1To read the documentation, just type desolve? at the command-line. On Sat, Jan 30, 2010 at 10:59 PM, fromken <[email protected]> wrote: > Hi there, > > I'm trying to solve a differential equation problem as following > > t, g = var('t, g') > > y = function('s', t) > > eqn = diff(y, t, 2) == g > > deeq = desolve(eqn, y) > > > > I thought that the variable g was a symbolic constant. but, I > have had an error message(Value Error: unable to determine independent > variable..) > > How can I fix the problem? > > -- > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/sage-support > URL: http://www.sagemath.org > -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
