Symbolic calculations using F1D (simplification)
Code: "func_simplify.py". Programming language: Python
DMelt Version 1. Last modified: 12/11/2015. License: Pro
https://datamelt.org/code/cache/func_simplify_7653.py
To run this script using the DMelt IDE,
copy the above URL link to the menu [File]→[Read script from URL] of the DMelt IDE.
from jhplot import *
s="sqrt(17/12)-(1/6*sqrt(51))"
f1 = F1D(s)
f1.simplify()
print "Simplified "+s+" = ",f1.getName()
s= "(x^2-1)/(x-1)"
f1 = F1D(s)
f1.simplify()
print "Simplified "+s+" = ",f1.getName()
You see the box below because you did not login.