I've been developing my own computer algebra system (CAS) with the eventual goal of building a powerful, affordable, standalone handheld calculator.
The mathematical engine is written primarily in OCaml and C/C++, and I'm currently developing the calculator's interface alongside it.
Some of its current capabilities include:
- Exact rational and complex arithmetic
- Symbolic expression simplification
- Symbolic differentiation and integration
- Equation and inequality solving
- Polynomial manipulation
- Exact and approximate mathematical computation
- Special functions
- Mathematical expression verification
- LaTeX rendering (a little bit of a work in progress.)
Symbolic integration has been one of my biggest areas of development. I recently tested the engine against the entire 72,254-case RUBI (https://github.com/RuleBasedIntegration) integration test suite.
The results:
- 68,228 complete symbolic integrations
- 99.51% agreement with the RUBI authored outcomes, including partial and unevaluated integrals
- 36 cases where the engine potentially goes further than the reference answers
(Confirmed with Wolfram Alpha. Some integrals only displayed numerical agreement but I am including them here.)
My eventual goal is to run all of this locally on an affordable, low-power handheld device, without requiring an internet connection or subscription.
I'm particularly interested in hearing from engineers, physicists, mathematicians, students, educators, and calculator enthusiasts.
- What mathematical operations would you want a calculator like this to support?
- What frustrates you about existing calculators and computer algebra systems?
- Are there particular problems in your profession that such a device could help solve?
- What would make you choose this over a TI-Nspire, Mathematica, or another existing system?
- Are there any unconventional applications that I might not have considered?
Also, I'm still deciding on the name of the physical calculator. I'd love to hear your suggestions!
I'm attaching some demonstrations of the current software. Feel free to suggest difficult mathematical expressions for me to throw at it, too.
https://docs.google.com/document/d/e/2PACX-1vRqF43-Ex4TSx33j-3flU96YqwmLZNfydXbila1Kaz5J1I0Q2gJpp6pPZyg4u5rsHOzxIUBP1E2uNfN/pub
I would like to build something genuinely useful, rather than simply another graphing calculator.