question: public static double normalPDF ( double x , double variance , double meanValue ) { double standardDeviation = Math . sqrt ( variance ) ; return ( 1 / ( standardDeviation * Math . sqrt ( 2 * Math . PI ) ) ) * Math . pow ( Math . E , - ( ( x - meanValue ) * ( x - meanValue ) ) / ( 2 * variance ) ) ; }
target:  Calculate a normal probability density function (PDF) based on a variance and mean value