Make sure your angles are in units of radians (not degrees), where 2Ï€ radians = 360 degrees. But after that you will get the ...