Check out example codes for "c# math to radiant". It will help you in understanding the concepts better.

Code Example 1

public double ConvertToRadians(double angle)
{
    return (Math.PI / 180) * angle;
}

Learn ReactJs, React Native from akashmittal.com