## How to Determine the Coefficients of a Gaussian Function from Two Known Points

I recently came across a problem in my research where I needed to calculate the form of a Gaussian function from two points that represent known solutions.  I wrote up my solution in the hopes that it will save other people the trouble of deriving it.  The link is here:

http://www.unc.edu/~haksaeng/mathematics/calculate_gaussian_curve.pdf

The backstory:

I am analysing the trajectory of some tennis balls that were thrown into the air due to an underground explosion.  I have decided to try modelling the force exerted on the tennis balls as a Gaussian pulse.  However, I don’t know exactly when the explosion started, or when the force is at its maximum.  All I know is the timing of two points:

1.  When the force equals the force of gravity (so the ball starts to move).

2.  When the force equals the force of gravity plus drag (when the explosion force becomes lower than gravity plus the air resistance caused by the ball flying through the air).

I don’t know the magnitude of the force except that it exceeds gravity at some point (obviously) and is greater than or equal to the force of gravity plus drag when the ball starts to slow down.

So my plan is to derive an expression for a Gaussian function based upon my two known points, and perform a nonlinear regression to figure out what magnitude of force gives the observed displacement of the tennis ball.