-1
$\begingroup$

I have a specific question about reversing $a\tan2$. (I am programmer, sorry for the jargon). I also use the $a\tan2$ function in my example, but I think everybody knows what it means.

radial = 1.12*PI => transformed = -atan2(cos(radial)∗2,sin(radial)*1.5)

Is there a way to reverse the transformed value to the start radial, without knowing the start radial? This is how codeflow should be

radial => transform(radial) => transformback(transform(radial)) => radial.

I have searched on the web (incl. stack) but I couldn't find any correct code. Also looked on Wikipedia, but it was overwhelming. My question is more a algebra question I think ;).

Let me know what you think!

  • 0
    My guess at the meaning of the question. Suppose $t = -\mathrm{atan2}(2\cos\theta,(3/2)\sin\theta)$, where $\mathrm{atan2}$ is defined by $\mathrm{atan2}(x,y) = \arctan(y/x)$. Solve the equation for $\theta$ as a function of $t$.2011-06-20
  • 2
    If this guy is let loose bridges will collapse.2011-07-20

1 Answers 1