How do I express x in terms of y in this set of equations?

319 Views Asked by At

The first equation is

$$a=\sqrt{\left(\cos\left(g\right)\sqrt{y\left(b-d\right)^2+y\left(a-c\right)^2}+\left(c-\frac{1}{x}\right)\cos\left(-xd\right)\right)^2+\left(\sin\left(g\right)\sqrt{y\left(b-d\right)^2+y\left(a-c\right)^2}+\left(c-\frac{1}{x}\right)\sin\left(-xd\right)\right)^2}+\frac{1}{x}$$

The second equation is

$$b=\arctan\left(\frac{\sin\left(g\right)\sqrt{y\left(b-d\right)^2+y\left(a-c\right)^2}+\left(c-\frac{1}{x}\right)\sin\left(-xd\right)}{\cos\left(g\right)\sqrt{y\left(b-d\right)^2+y\left(a-c\right)^2}+\left(c-\frac{1}{x}\right)\cos\left(-xd\right)}\right)$$

For each variable its value is the same in both equations.

How do I express x in terms of y for this set of equations?