Data update
This commit is contained in:
parent
ed705008a8
commit
0df55f9f24
2196 changed files with 32999 additions and 3075 deletions
|
|
@ -12,7 +12,7 @@ public program()
|
|||
real[] a := new real[](1000);
|
||||
|
||||
real tAvg := 0;
|
||||
for (int x := 0, x < a.Length, x += 1)
|
||||
for (int x := 0; x < a.Length; x += 1)
|
||||
{
|
||||
a[x] := (randomNormal()) / 2 + 1;
|
||||
tAvg += a[x]
|
||||
|
|
@ -22,7 +22,7 @@ public program()
|
|||
console.printLine("Average: ", tAvg);
|
||||
|
||||
real s := 0;
|
||||
for (int x := 0, x < a.Length, x += 1)
|
||||
for (int x := 0; x < a.Length; x += 1)
|
||||
{
|
||||
s += power(a[x] - tAvg, 2)
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue