simplify simplifies the expression.
As with all automatic simplifications, do not expect miracles,
you will have to use specific rewriting rules if it does not work.
Input :
Output :
^
2-2Warning simplify is more efficient in radian mode (check radian in the cas configuration or input angle_radian:=1).