The LCM is rst.
Chat with our AI personalities
Shell program to find LCM and hcf of two no.s tput clear echo "Enter first no" read a echo "Enter 2nd no" read b p= 'expr $a \* $b' while [$b -ne 0] do r= 'expr $a % $b' a=$b b=$r done LCM = 'expr $p / $a' echo "LCM = $LCM" echo "Hcf = $a"
Suppose you have the fractions p/q and r/s. Let the LCM of q and s be t.Then t is a multiple of q as well as of s so let t= q*u and t = s*v Then p/q = (p*u)/(q*u) = (p*u)/t and r/s = (r*v)/(s*v) = (r*v)/t have the same denominators.
The LCM is 78.
The LCM of 3 and 6 is 6 The LCM of 5 and 7 is 35. The LCM of 8 and 9 is 72. The LCM of 12 and 15 is 60.
The LCM of these numbers is 25y. LCM is Least Common Multiple.