Simplifying expressions in SymPy
The previous post looked at why Mathematica does not simplify the expression Sinh[ArcCosh[x]] the way you might think it should. This post will be a sort of Python analog of the previous post. SymPy is a Python library that among other things will simplify mathematical expressions. As before, we seek to verify the entries in the table below, this time using SymPy. Here’s the code: from sympy import * x = symbols(‘x’) print( simplify(sinh(asinh(x))) ) print( simplify(sinh(acosh(x))) ) […]