Simplify : simplify

### 5.13.16 Simplify : simplify

simplify simplifies an expression. It behaves like normal for rational fractions and algebraic extensions. For expressions containing transcendental functions, simplify tries first to rewrite them in terms of algebraically independent transcendental functions. For trigonometric expressions, this requires radian mode (check radian in the cas configuration or input angle_radian:=1).
Input :

simplify((x-1)*(x+1))

Output :

x`^`2-1

Input :

simplify(3-54*sqrt(1/162))

Output :

-3*sqrt(2)+3

Input :

simplify((sin(3*x)+sin(7*x))/sin(5*x))

Output :

4*(cos(x))`^`2-2