diff options
Diffstat (limited to '1553/CH3/EX3.2/3Ex2.sce')
-rw-r--r-- | 1553/CH3/EX3.2/3Ex2.sce | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/1553/CH3/EX3.2/3Ex2.sce b/1553/CH3/EX3.2/3Ex2.sce new file mode 100644 index 000000000..c9f73aa12 --- /dev/null +++ b/1553/CH3/EX3.2/3Ex2.sce @@ -0,0 +1,8 @@ +//chapter 3 Ex2
+clc;
+clear;
+close;
+n1=5/8; n2=7/12; n3=13/16; n4=16/29; n5=3/4;
+V=[n1 n2 n3 n4 n5];
+V=gsort(V,'lc','i');
+mprintf("%.2f < %.2f< %.2f < %.2f < %.2f",V(1),V(2),V(3),V(4),V(5));
|