Sorry to beat this into the ground, but I think the actual integral is ...
(1/T) * -cos(wt)/w evaluated from 180 to 45 or pi to pi/4.
From my understanding the relationships are as follows ...
T =1/f, w=2*pi*f, therefore w=2*pi/T
this should cancel out the T and leave the result as ...