summaryrefslogtreecommitdiff
path: root/1553/CH2/EX2.5/2Ex5.sce
blob: 87426a4f01806bd034b0a5e4d7bb91e3dd5bc02e (plain)
1
2
3
4
5
6
7
8
9
//chapter 2 Ex 5

clc;
clear;
close;
n1=2^2*3^3*5*7^2; n2=2^3*3^2*5^2*7^4; n3=2**3*5^3*7*11;
V=int32([n1 n2 n3]);
Lcm=lcm(V);
mprintf("The LCM of given numbers is %d.",Lcm);