Hello,

I would like to use something like bell curve to calculate a few things.

I am not exactly good at math, so my equation could be simplified, i guess, but this is it: 1-0.8*10^(-5x^4)

One thing that i hate is the need to calculate in double, not float. Other thing is, that it gives me totally wrong numbers… for example -5x^4 should be -625, when x = 1 , but math.pow(-5, 4) gives me 625… and other calculations go completely nuts after that.

Is there any other function other than math.pow in C# to calculate those two exponents and the whole equation?