AlgoSim
Homepage | Screenshots | Gallery of Visualisation | User's Guide | Function Reference | Download | FAQ | Support | Bugs and Solutions | Donate

Reference: toSymbolicForm

toSymbolicForm(x) returns the real number x in symbolic (exact) form, if possible. The function returns a string with an expression using division, multiplication, square roots, and constants (such as e and π), evaluating to x, if such an expression can be found.

Example: toSymbolicForm(0.866025403784439) = "√3/2"