 
 
 
tcollect or tCollect takes as argument 
an expression containing trigonometric functions.
tcollect first linearizes this expression 
(e.g. in terms of sin(n*x) and cos(n*x)), 
then, puts together sine and cosine of the same angle.
Input :
Output :
Input :
Output :
 
 
