I need java code to do the same thing Excel does with the following function:
Returns the standard normal cumulative distribution function. The distribution has a mean of 0 (zero) and a standard deviation of one. Use this function in place of a table of standard normal curve areas.
Z is the value for which you want the distribution.
If z is nonnumeric, NORMSDIST returns the #VALUE! error value.
The equation for the standard normal density function is: