A couple things you might keep in mind:

You can replace derivatives with values:

    h[1] >>> f = Function('f')
   h[1] >>> f(x).diff(x) + x
    x + D(f(x), x)
    h[2] >>> _.subs(f(x).diff(x), 2)
    2 + x

You can work with units:

    h[3] >>> import sympy.physics.units as u
    h[3] >>> e = 3*u.kg*u.c**2; e # E = m*c**2 for m = 1 kg
    269626553621045292*m**2*kg/s**2
    h[4] >>> e/u.joules # show the answer in joules
    269626553621045292
    h[5] >>> e/u.eV # or in eV
    1.68287673554558e+36

P.S. Although other may have different feelings, I would prefer to get
a small subset or a single step in the problem about which you have a
question -- even several small questions -- rather than a large chunk
at once.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
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/sympy?hl=en.

Reply via email to