diff options
Diffstat (limited to '291/CH2/EX2.5a/eg2_5a.sce')
-rwxr-xr-x | 291/CH2/EX2.5a/eg2_5a.sce | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/291/CH2/EX2.5a/eg2_5a.sce b/291/CH2/EX2.5a/eg2_5a.sce index f628c5447..54177d474 100755 --- a/291/CH2/EX2.5a/eg2_5a.sce +++ b/291/CH2/EX2.5a/eg2_5a.sce @@ -1,8 +1,8 @@ -data = [90 91 94 83 85 85 87 88 72 74 74 75 77 77 78 60 62 63 64 66 66 52 55 55 56 58 43 46];
-disp("According to the empirical rule")
-disp("68% of the data lies between")
-disp(mean(data)+st_deviation(data), "and", mean(data)-st_deviation(data))
-disp("95% of the data lies between")
-disp(mean(data)+(2*st_deviation(data)), "and", mean(data)-(2*st_deviation(data)) )
-disp("99.7% of the data lies between")
-disp(mean(data)+(3*st_deviation(data)), "and", mean(data)-(3*st_deviation(data)))
\ No newline at end of file +data = [90 91 94 83 85 85 87 88 72 74 74 75 77 77 78 60 62 63 64 66 66 52 55 55 56 58 43 46]; +disp("According to the empirical rule") +disp("68% of the data lies between") +disp(mean(data)+stdev(data), "and", mean(data)-stdev(data)) +disp("95% of the data lies between") +disp(mean(data)+(2*stdev(data)), "and", mean(data)-(2*stdev(data)) ) +disp("99.7% of the data lies between") +disp(mean(data)+(3*stdev(data)), "and", mean(data)-(3*stdev(data)))
\ No newline at end of file |