I'm not sure if this is the right place to post this. Let me say, this is not for any homework.(adsbygoogle = window.adsbygoogle || []).push({});

I've been asking all over the internet with help for this, and no one seems to be able to know.

I am applying this function to a Program I am writing in Delphi. I have no trouble applying it how it is in the picture, though what I need to do next is Isolate the variable "X" or "Y" by itself on one side of the equation. This reason I am doing this is so I can input a generated percentage value, a Y or X value, and get the corresponding variable to complete the point which matches in the generated accuracy relative to the Center Point.

[PLAIN]http://upload.wikimedia.org/wikipedia/en/thumb/c/ce/Gaussian_2d.png/300px-Gaussian_2d.png [Broken]

Here the coefficient A is the amplitude, xo,yo is the center and σx, σy are the x and y axis radii.

All I need help with is moving the X or the Y into isolation on one side of the equation. I say X OR Y for the fact that, the way the equation is layed out, once I have an equation with X on one side, I can just swap all the X vars with the Y vars and apply it the same way.

I have tried numerous times and asked on numerous forums.. People either misunderstood what I was asking or didn't understand and never replied. I have tried multiple times but keep running into errors like attempting to square root a negative.

I haven't been in a math class in around 1 year and a half so I've probably forgotten some important methods for rearranging equations. (Ironically enough, my overwheleming interested in mathematics didn't develop until over the summer, I wish I had the interest a year ago lol) I know one thing is....... at some point in the equation there will be a ± for the answer since the accuracy of the formula is derived from circles. Meaning, there will be multiple points with the same accuracy, probably around 4 for each actual accuracy.

Does anyone have an idea?

Also, if anyone gets it, can you please post any special exception rules I should beware of (in this problem) to prevent me from making future mistakes.

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Rearranging Two-Dimensional Gaussian Function.

**Physics Forums | Science Articles, Homework Help, Discussion**