Emacs folks may also like the Maxima mode, a very capable interface to a full-blown CAS: https://www.emacswiki.org/emacs/MaximaMode