Problem with arduino maths

Everything higher level than geometry uses radians. You should, too.