texpand or tExpand takes as argument an
expression containing transcendental or trigonometric functions.
texpand or tExpand expands these functions, like simultaneous
calling expexpand, lnexpand and trigexpand,
for example, ln(xn) becomes nln(x), exp(nx)
becomes exp(x)n, sin(2x) becomes 2sin(x)cos(x)...
Examples :
^
3-3*cos(x)^
2-1)*(sin(x)/(16*(cos(x))^
4- 12*(cos(x))^
2+1))/sin(x)+(64*(cos(x))^
6- 80*(cos(x))^
4+24*(cos(x))^
2-1)*sin(x)/ (16*(cos(x))^
4-12*(cos(x))^
2+1)/sin(x)^
2-2^
n))^
2)+exp(2*log(2))+exp(log(3)+log(2)))^
2)+exp(2*log(2)))+ lncollect(exp(log(3)+log(2)))^
2))