summaryrefslogtreecommitdiff
path: root/291/CH2/EX2.4a/eg2_4a.sce
diff options
context:
space:
mode:
Diffstat (limited to '291/CH2/EX2.4a/eg2_4a.sce')
-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