racket-cas icon indicating copy to clipboard operation
racket-cas copied to clipboard

Simple computer algebra system

Results 10 racket-cas issues
Sort by recently updated
recently updated
newest added

To render LaTeX in the REPL out of the box as instructed in the README.txt I had to add the following lines to `racket-cas.rkt` `(require latex-pict pict)` `(define (render u)`...

This MR fixes +/-, but fails some `bf` tests, since r. would not match big float because big float does not match r (number?).

Would it be possible to add a rule that cos^2(x) + sin^2(x) = 1?

While trying the examples in the README, I discovered that it is necessary to call `(latex-path "/path/to/pdflatex")` in order for `render` to work. It would be nice to add this...

Add a variant of CompleteSquare. Recover circle or ellipse equation from a genereal second degree polynomial in x and y. https://www.maplesoft.com/support/help/maple/view.aspx?path=Student/Precalculus/CompleteSquare https://resources.wolframcloud.com/FunctionRepository/resources/CompleteSquare/ See also Nspire.

enhancement

Missing paren in ouput. (* 4 (expt e (* -4 x))) 4/e^4*x

The following is supposed to produce d/dx(x^2). > (parameterize ([output-differentiation-mark (list)]) (tex '(diff (sqr x) x))) "$\\text{sqr}'(x)$"

Simpler example: ``` > (!v '(* 3 1 -2)) "$3\\cdot -2$" ``` ``` > (!v '(+ (* 3 (expt 1 2)) (* 3 1 -2) (expt -2 2))) "$3\\cdot 1^{2}+3\\cdot...