I program scripts in maxima (wxmaxima), a computer algebra system.
Book with examples:
- Timberlake, Todd Keene, and J. Wilson Mixon. Classical mechanics with maxima. Springer New York, 2016.
Some useful tips
- There are on internet some "Maxima online" web sites which run maxima scripts.
- quote-quote operator forces Maxima to evaluate:
f(x):=cos(x)+sin(x);
derivative(f(x),x,1);
fprime(x):=''%;
defines fprime(x):= cos(x) - sin(x);
- single-quote operator forces Maxima to recognize the command but not to evaluate it:
theta(mu,sigma):=mu/sigma**2;
'theta(1,2);
theta(1,2);
gives theta(1, 2) and 1/4