I have been trying to use Math.sin() and Math.cos() functions. I have heard that they exist, but all attempts for me to actually use them have failed.
It works on AppLab. To find Sin of 90 degrees, I did Math.sin(3.14/2) and it gave me the correct answer. You have to provide the angle in radians.