diff options
Diffstat (limited to '260/CH6/EX6.7')
-rw-r--r-- | 260/CH6/EX6.7/6_7.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/260/CH6/EX6.7/6_7.sce b/260/CH6/EX6.7/6_7.sce new file mode 100644 index 000000000..6c10c1568 --- /dev/null +++ b/260/CH6/EX6.7/6_7.sce @@ -0,0 +1,14 @@ +//Eg-6.7
+//pg-290
+
+clear
+clc
+
+//sorting data in ascending order
+x=[233;216;229;238];
+m1=median(x);
+y=[56;62;51];
+m2=median(y);
+disp("medians of given data are as follows")
+disp(m1)
+disp(m2)
\ No newline at end of file |