Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Simplify trig expressions with the double angle formula

I am trying to simplify the following expression in sage:

(sqrt(3)/3*cos(x)+1/3*sin(x))

the resulting expression should be:

2/3*cos(pi/6-x)

.simplify_full(), trig_reduce(), or simplify_trig() cannot produce this simplification.

Is sage currently capable of doing this?

click to hide/show revision 2
retagged

Simplify trig expressions with the double angle formula

I am trying to simplify the following expression in sage:

(sqrt(3)/3*cos(x)+1/3*sin(x))

the resulting expression should be:

2/3*cos(pi/6-x)

.simplify_full(), trig_reduce(), or simplify_trig() cannot produce this simplification.

Is sage currently capable of doing this?