summaryrefslogtreecommitdiff
path: root/260/CH6/EX6.11/6_11.sce
diff options
context:
space:
mode:
Diffstat (limited to '260/CH6/EX6.11/6_11.sce')
-rw-r--r--260/CH6/EX6.11/6_11.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/260/CH6/EX6.11/6_11.sce b/260/CH6/EX6.11/6_11.sce
new file mode 100644
index 000000000..dd1f41b1e
--- /dev/null
+++ b/260/CH6/EX6.11/6_11.sce
@@ -0,0 +1,16 @@
+//Eg-6.11
+//pg-299
+
+clear
+clc
+
+
+data=[144.4;152.8;171.9;183;166.5;180.1;156.4;177.4;170.8;169.5;178.6;161.2;182.6;157;166.4;174.8;174.7;163.7;155.1;169.6];
+m=mean(data);
+s=variance(data);
+sd=st_deviation(data);
+
+disp("mean variance and standard deviation are respectively")
+disp(m)
+disp(s)
+disp(sd) \ No newline at end of file