cortex-js / compute-engine

An engine for symbolic manipulation and numeric evaluation of math formulas expressed with MathJSON
https://cortexjs.io
MIT License
375 stars 47 forks source link

Simplify fraction and solving full equations #88

Closed truebluepl closed 1 year ago

truebluepl commented 1 year ago

Hello, is it possible to simplify for example fraction "17/12" to "1 5/12"?

Is it possible to solve equations and find unknown(s)? For example: "4*x+3=19", so unknown x=4.

arnog commented 1 year ago

There is currently no function to convert fraction into a mixed number.

Some equations can be solved using expr.solve()