summaryrefslogtreecommitdiff
path: root/1553/CH9/EX9.14/9Ex14.sce
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH9/EX9.14/9Ex14.sce')
-rw-r--r--1553/CH9/EX9.14/9Ex14.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/1553/CH9/EX9.14/9Ex14.sce b/1553/CH9/EX9.14/9Ex14.sce
new file mode 100644
index 000000000..850f9c2f1
--- /dev/null
+++ b/1553/CH9/EX9.14/9Ex14.sce
@@ -0,0 +1,10 @@
+//chapter 9 Ex 14
+
+clc;
+clear;
+close;
+
+a=nthroot(6,4); b=sqrt(2); c=nthroot(4,3);
+v=[a b c];
+v=gsort(v,'lc','i');
+mprintf("Largest number is %.3f",v(3));