This seems almost silly to ask but I am stuck with it.
I have the following equation
\begin{equation}\tag{*} e^{-\frac{(A-B)^{2}}{D}}=C \end{equation}
I know $A,B \in \mathbb{R}, 0<C<1,D>0 $. Everything is known except $A$. I computed $A$ in following way.
\begin{alignedat}{2} \Rightarrow\quad && {\frac{(A-B)^{2}}{D}}=-\ln C \\ \Rightarrow\quad && {{(A-B)^{2}}}=D*\ln \big(\frac{1}{C}\big) \\ \Rightarrow\quad && {{(A-B)}}=\sqrt {D*\ln \big(\frac{1}{C}\big)} \\ \Rightarrow\quad && {A}= B + \sqrt {D*\ln \big(\frac{1}{C}\big)} \end{alignedat}
But when I use $A$ in (*) along with $B,D$, I get a value of $C$ that is different from what I originally had. Any hint/suggestion will be much appreciated.