|
DataMuseum.dkPresents historical artifacts from the history of: RegneCentralen GIER Computer |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RegneCentralen GIER Computer Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - download
Length: 866 (0x362) Description: Bits:30000676 _x og s=sqrt(1/(n-1)(xi-_x)^2) Types: 8-hole paper tape Notes: Gier Text
algol<begin _____integer antal,i; _______real x,sum,kvadratsum; ____boolean abc; _______select (19);i:=0;x:=read real;abc:=x|0; =for i:=i+1 while abc do ___ _____ __begin _____antal:=0;sum:=0;kvadratsum:=0;for x:=x,read real while x|0 do ___ _____ = __begin _____antal:=antal+1;sum:=sum+x; kvadratsum:=kvadratsum+x⨯x;end; ___if antal|read integer then writetext(|<fejl på datastrimmel|) else __ = ____ < > ____begin _____if i=1 then writetext(|< middelværdi spredning|);writecr; __ ____ < >write(|________ dddd.ddddd|,sum/antal,sqrt((kvadratsum-sum∧2/antal)/(antal <,,,,,,,, > |-1))); writecr;end; ___x:=read real;abc:=x|0; =end; ___end t< ___