summaryrefslogtreecommitdiff
path: root/1553/CH9/EX9.14/9Ex14.sce
blob: 850f9c2f1eccc3d07e5327747e09d12a34b13345 (plain)
1
2
3
4
5
6
7
8
9
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));