login  home  contents  what's new  discussion  bug reports help  links  subscribe  changes  refresh  edit

# Edit detail for SandBoxF3lix revision 5 of 5

 1 2 3 4 5 Editor: test1 Time: 2018/03/05 15:58:35 GMT+0 Note:

changed:
-myExpr := simplify (1-e^x)^2 - (e^(2*x)- 2*e^x + 1)
myExpr := (1-e^x)^2 - (e^(2*x)- 2*e^x + 1)

changed:
-simplify (1-e^x)^2 - (e^(2*x)- 2*e^x + 1)
(1-e^x)^2 - (e^(2*x)- 2*e^x + 1)


fricas
myExpr := (1-e^x)^2 - (e^(2*x)- 2*e^x + 1)
 (1)
Type: Expression(Integer)

fricas
dumbRule := rule e^(a*b) == e^(b*a)
 (2)
Type: RewriteRule?(Integer,Integer,Expression(Integer))
fricas
dumbRule myExpr
 (3)
Type: Expression(Integer)

fricas
simplify((1-e^x)^2 - (e^(2*x)- 2*e^x + 1))
 (4)
Type: Expression(Integer)
fricas
simplify((1-%e^x)^2 - (%e^(2*x)- 2*%e^x + 1))
 (5)
Type: Expression(Integer)

looks funny in LaTeX but is ok --Bill Page, Wed, 03 Feb 2010 07:53:37 -0800 reply
fricas
)set output algebra on

fricas
)set output tex off

fricas
(1-e^x)^2 - (e^(2*x)- 2*e^x + 1)
2 x     x 2
(6)  - e    + (e )
Type: Expression(Integer)
fricas
unparse(%::InputForm)
(7)  "(-1)*e^(2*x)+(e^x)^2"
Type: String

fricas
)set output algebra off

fricas
)set output tex on