summaryrefslogtreecommitdiff
path: root/291/CH2/EX2.4a
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /291/CH2/EX2.4a
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 '291/CH2/EX2.4a')
-rwxr-xr-x291/CH2/EX2.4a/eg2_4a.sce10
1 files changed, 5 insertions, 5 deletions
diff --git a/291/CH2/EX2.4a/eg2_4a.sce b/291/CH2/EX2.4a/eg2_4a.sce
index a6ca40930..948568532 100755
--- a/291/CH2/EX2.4a/eg2_4a.sce
+++ b/291/CH2/EX2.4a/eg2_4a.sce
@@ -1,5 +1,5 @@
-cars = [448162 404192 368327 318308 272122 260486 249128 234936 218540 207977];
-interval1 = mean(cars) - (1.5*st_deviation(cars));
-interval2 = mean(cars) + (1.5*st_deviation(cars));
-data = 100*5/9;
-disp(interval2, , "to" , interval1, "Atleast 55.55% of the data lies in the interval" );
+cars = [448162 404192 368327 318308 272122 260486 249128 234936 218540 207977];
+interval1 = mean(cars) - (1.5*stdev(cars));
+interval2 = mean(cars) + (1.5*stdev(cars));
+data = 100*5/9;
+disp(interval2, , "to" , interval1, "Atleast 55.55% of the data lies in the interval" ); \ No newline at end of file