Finding values of two variables with two equations in Python

211 Views Asked by At

I am simply trying to find the values of the two variables X and Y using the following system of two equations, in Python:

z = arccos [(sin(a) * sin(X)) + (cos(a) * cos(X) * cos(Y - b))]


Az = arctan2[(cos(X) * sin(Y - b)) , (cos(a) * sin(X)) - (sin(a) * cos(X) * cos(Y-b))]

where the values for the variables z, Az, a, and b are already known. The only unknown variables are X and Y.

How can I do this, using Python?

0

There are 0 best solutions below