[Maxima] how to define mathematical operators?

Dan Hatton vi5u0-maxima at yahoo.co.uk
Sat Nov 29 06:15:26 CST 2008


On Thu, 27 Nov 2008, Jose A. Vallejo wrote:

> H(V,f):=diff(f(x),x)+V*f(x)

A note of caution... this, and all the other Maxima code in this
thread, involves the first derivative of f(x).  If you're trying to
define the Hamiltonian, then you want the second derivative - which I
think is what you had in the Mathematica snippet.

-- 

HTH,

Dan


More information about the Maxima mailing list