HP Forums

Full Version: simplify(9*sin(3)-9*sin(8)) gives long results
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi.

I have this expression:

9*sin(3)-9*sin(8)

I tried to use "simplify" in order to obtain a more compact result. I was expecting

9*(sin(3)-sin(8))

But I've obtained

1152*cos(1)*sin(1)^7-1728*cos(1)*sin(1)^5+720*cos(1)*sin(1)^3-72*cos(1)*sin(1)-36*sin(1)^3+27*sin(1)

The calculator has created an expression in which sin and cos have same argument.

Is this correct? because I did not expected something like this from the "simplify" command.
Is there another way to collect terms and obtain the expression that I expected?
You can use 'collect' to get the result you want:

collect(9*SIN(3)-9*SIN(8)) ----> 9*(SIN(3)-SIN(8))
It seems to work. Thanks.
Reference URL's