Problem with arduino maths

amruth11:
I want the degrees converted to radians and thats what sin() does but the answer is wrong, why. Need help with this. :~

Thats not what sin() does. Sin() takes the angle in Radians as the input. It also takes it as a float, so why not just convert it yourself?