diff options
Diffstat (limited to '1553/CH2/EX2.12/2Ex12.sce')
-rw-r--r-- | 1553/CH2/EX2.12/2Ex12.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/1553/CH2/EX2.12/2Ex12.sce b/1553/CH2/EX2.12/2Ex12.sce new file mode 100644 index 000000000..4d4d22801 --- /dev/null +++ b/1553/CH2/EX2.12/2Ex12.sce @@ -0,0 +1,9 @@ +//chapter 2 Ex 12
+
+clc;
+clear;
+close;
+l1=4*100+95; l2=9*100; l3=16*100+65; //converting lengths into cm
+V=int32([l1 l2 l3]);
+Hcf=gcd(V);
+mprintf("The required length is %d cm",Hcf);
|