I have an algorithm in which it is stated as such and I have to execute certain commands in python as the algorithm raises so I can not modify, how can I raise the following sentence?
where An is an angle, and everything with the root is a variable called distance.
theoretically I know that the python function exists:
An=np.arctan2(y, x) * 180 / np.pi
but the problem is that I do not have x, and when I try to do this
An=np.arctan2(distancia) * 180 / np.pi
I get an error because it is not a format supported by python. thanks in advance