fricas (1) -> myExpr := (1-e^x)^2 - (e^(2*x)- 2*e^x + 1)
Type: Expression(Integer)
fricas dumbRule := rule e^(a*b) == e^(b*a)
fricas dumbRule myExpr
Type: Expression(Integer)
... --mantepse, Wed, 03 Feb 2010 07:52:51 -0800 reply fricas simplify((1-e^x)^2 - (e^(2*x)- 2*e^x + 1))
Type: Expression(Integer)
fricas simplify((1-%e^x)^2 - (%e^(2*x)- 2*%e^x + 1))
Type: Expression(Integer)
fricas )set output algebra on fricas )set output tex off fricas (1-e^x)^2 - (e^(2*x)- 2*e^x + 1) Type: Expression(Integer)
fricas unparse(%::InputForm) Type: String
fricas )set output algebra off fricas )set output tex on |