Hello,
can somebody tell me why for the Math function "Cosine" of the Spatial Analyst the Cosine of 30 is 0.154251 instead of 0.8660254?
I tried to create a constant grid using the cosine function and this is the result.
Many thanks
Fabio
Solved! Go to Solution.
angles must be in radians and not in degrees
import math
math.cos(30)
Out[2]: 0.15425144988758405
math.cos(math.radians(30))
Out[3]: 0.8660254037844387
angles must be in radians and not in degrees
import math
math.cos(30)
Out[2]: 0.15425144988758405
math.cos(math.radians(30))
Out[3]: 0.8660254037844387