Data update

This commit is contained in:
Ingy döt Net 2024-03-06 22:25:12 -08:00
parent ed705008a8
commit 0df55f9f24
2196 changed files with 32999 additions and 3075 deletions

View file

@ -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)
};