|
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: 832 (0x340) Description: Bits:30000675 _x og s = sqrt(1/(n-1)*sum(xi-_x)^2) (select 8) Types: 8-hole paper tape Notes: Gier Text
algol<begin _____integer antal,i; _______real x,sum,kvadratsum; ____boolean abc; _______select (8);writecr;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 __ = ____begin _____writetext(|< fejl på datastrimmel.|);writecr; < >end 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< ___