Skip to content

rivea0/casual-math

Repository files navigation

Casual Math

A React application to solve simple math operations. Currently, there are five options available:

  • Simplify
  • Factor
  • Derive
  • Integrate
  • Find 0's

Newton APIa really micro micro-service for advanced math— is used to get the result.

The result is displayed with KaTeX, using react-katex.

Validity of an expression (whether it is well-formed) is checked with the help of math-expression-evaluator. Since the expressions can be complex equations, it is hard to do a 100% coverage, but it is sufficient for evaluating simple strings. That said, something like abcd+efg is well-formed, but 123++- is not. In that case, an error message informing the user is displayed.

An example usage:

example gif

About

A React application to solve simple math operations.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published