Question
LCM of two numbers is 12 times their HCF. The product of
the numbers is 25920. What will be the maximum possible difference between the numbers?Solution
ATQ, Let HCF of two numbers be βxβ So, LCM of two numbers = 12 Γ x = 12x Or, x Γ 12x = 25920 Or, 12xΒ² = 25920 Or, xΒ² = 2160 Or, x = β2160 = 46.48 (Approx 46) LCM of two numbers = 46 Γ 12 = 552 Let two numbers be β46aβ and β46bβ, where βaβ and βbβ are co-prime numbers. So, 46ab = 552 Or, a Γ b = 12 So, when a = 1 and b = 12, then difference will be maximum Desired difference = 46 Γ 12 β 46 Γ 1 = 506
Which of the following is a system call used to create a new process in Unix-like operating systems?
Which command displays the manual page for another command?
In shell scripting, how do you assign the string "Hello World" to a variable named `MESSAGE`?
What is the primary purpose of the "shebang" line `#!/bin/bash` at the beginning of a shell script?
Which command is used to read user input from the keyboard and store it in a variable?
Which command is used to combine the contents of multiple files?
Which command is used to display the number of lines in a file?
In a POSIX shell script, which construct correctly tests whether variable x is an empty string?
Which command is used to search for a pattern in files?
Which command is used to display all currently running processes in Linux?