J
Jeremy
hello,
I am trying to calculate the standard deviation with my program, but I
ran into a small problem with squaring negative value's. Which cannot
be done.. Ehm let me explain let's say;
score=8 mean=9.67 and deviation=-1.67
now I want to square the deviation with sqrt but that doesn't really
work anymore since the value is negative, what function could I use
from the math.h to obtain the correct squared deviation value of 2.79?
Thanks you.
Jeremy
I am trying to calculate the standard deviation with my program, but I
ran into a small problem with squaring negative value's. Which cannot
be done.. Ehm let me explain let's say;
score=8 mean=9.67 and deviation=-1.67
now I want to square the deviation with sqrt but that doesn't really
work anymore since the value is negative, what function could I use
from the math.h to obtain the correct squared deviation value of 2.79?
Thanks you.
Jeremy