summaryrefslogtreecommitdiff
path: root/2096/CH1/EX1.59/ex_1_59.sce
diff options
context:
space:
mode:
Diffstat (limited to '2096/CH1/EX1.59/ex_1_59.sce')
-rwxr-xr-x2096/CH1/EX1.59/ex_1_59.sce5
1 files changed, 2 insertions, 3 deletions
diff --git a/2096/CH1/EX1.59/ex_1_59.sce b/2096/CH1/EX1.59/ex_1_59.sce
index e96cab9a4..7e0fcbe02 100755
--- a/2096/CH1/EX1.59/ex_1_59.sce
+++ b/2096/CH1/EX1.59/ex_1_59.sce
@@ -8,7 +8,7 @@ for i= 1:10
end
Q= [qb(1),qb(2),qb(3),qb(4),qb(5),qb(6),qb(7),qb(8),qb(9),qb(10)];//
AV=(-qb(1)-qb(2)+qb(3)+qb(4)-qb(5)-qb(6)+qb(7)+qb(8)-qb(9)+qb(10))/10;//
-SD=st_deviation(Q);//standard deviation
+SD=stdev(Q);//standard deviation
for i=1:10
B(i)= (qb(i))/SD;//
disp(B(i))
@@ -16,5 +16,4 @@ end
V=SD^2;//variance
disp(AM,"arithematic mean in mm")
disp(SD,"standard deviation in mm")
-disp("it is given that for 10 readings the ratio of deviation to standard deviation is not to exceed 1.96 and therefore reading no. 5 i.e. 4.33m should be rejected")
-
+disp("it is given that for 10 readings the ratio of deviation to standard deviation is not to exceed 1.96 and therefore reading no. 5 i.e. 4.33m should be rejected") \ No newline at end of file