Hi, I need to calculate this formula in Field Calculator. Should be pretty easy, but I´ve never worked in Python. So I will be very grateful if someone could me write the input. Thanks a lot! Jan
arccos ( ([Field_A]^2 + [Field_B]^2 - [Field_C]^2) / (2*[Field_A]*[Field_B]) )
Solved! Go to Solution.
math.acos((!Field_A!**2 + !Field_B!**2 - !Field_C!**2) / (2.0 * !Field_A! * !Field_B!))
# --- python parser... I think 'math' is builtin to the field calculator
math.acos((!Field_A!**2 + !Field_B!**2 - !Field_C!**2) / (2.0 * !Field_A! * !Field_B!))
# --- python parser... I think 'math' is builtin to the field calculator