Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,12 @@
|
|||
global sum sum2 n .
|
||||
proc sd x . r .
|
||||
sum += x
|
||||
sum2 += x * x
|
||||
n += 1
|
||||
r = sqrt (sum2 / n - sum * sum / n / n)
|
||||
.
|
||||
v[] = [ 2 4 4 4 5 5 7 9 ]
|
||||
for v in v[]
|
||||
call sd v r
|
||||
print v & " " & r
|
||||
.
|
||||
Loading…
Add table
Add a link
Reference in a new issue