Help with this one please:

IF w = [sin(P+Q) +i(1- cos(P+Q))] / [(cos P +cos Q) + i(sin P - sin Q)] show that the modulus of w is tan [(P+Q)/2] and arg w = Q.

We were given this hint: Use the double angle identities and the factor formulae.

Thanks