diff options
author | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
commit | f35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch) | |
tree | eb72842d800ac1233e9d890e020eac5fd41b0b1b /291/CH2/EX2.4a | |
parent | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff) | |
download | Scilab-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-x | 291/CH2/EX2.4a/eg2_4a.sce | 10 |
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 |