summaryrefslogtreecommitdiff
path: root/2096/CH1/EX1.59
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /2096/CH1/EX1.59
parent7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff)
downloadScilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip
updated the code
Diffstat (limited to '2096/CH1/EX1.59')
-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