I'm trying to write a function that returns a point on a standard bell curve or Gaussian Distribution.
The function should take a float percent (in the range of zero to one). This is the point on the x-axis for a bell curve and the function would return the corresponding y value (the 'peak' of the bell curve - at 50% - would be a second input value).
I've tried looking into a normal distribution function and sine curves but virtually all the examples I've found involve random number patterns (this function would be entirely deterministic).
The shape of the function would probably be something like this:
function bellCurve(percent, yMaximumValue){
//do magic
return newYValue;
}