Question: how can i simplify the trig function?

for example:

>>simplify(cos(i)*sin(u)/sin(i),trig)

                    cos(i)*sin(u)/sin(i)

Maple do'not  simplify cos(i)/sin(i)=ctan(i) atomaticly.

also  half angle formulas:

>>simplify(sin(i)/(cos(i)+1),trig)

           sin(i)/(cos(i)+1)

i want to get tan(i/f)

i also try comands " expand "and" combine"

they also do'not work

i do like this

subs(sin(i)/(1+cos(i)),%)

or

sin(i)/(1+cos(i))|sin(i)=tan(i/2)*(1+cos(i))

i think this is not  available in the comlicated expression, so how can i simlify these trig expression atomaticaly.

Please Wait...