summaryrefslogtreecommitdiff
path: root/1553/CH2/EX2.13/2Ex13.sce
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH2/EX2.13/2Ex13.sce')
-rw-r--r--1553/CH2/EX2.13/2Ex13.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1553/CH2/EX2.13/2Ex13.sce b/1553/CH2/EX2.13/2Ex13.sce
new file mode 100644
index 000000000..8caca8818
--- /dev/null
+++ b/1553/CH2/EX2.13/2Ex13.sce
@@ -0,0 +1,9 @@
+//chapter 2 Ex 12
+
+clc;
+clear;
+close;
+l1=1657; l2=2037; r1=6; r2=5; //given values
+V=int32([(l1-r1) (l2-r2)]);
+Hcf=gcd(V);
+mprintf("The required number is %d",Hcf);