Question
Numerator of a fraction is 4 less than the denominator.
If 6 and 7 are added to numerator and denominator of a fraction respectively, then fraction becomes 3/14 more than the initial fraction. Find the sum of numerator and denominator of the initial fraction.Solution
Let the numerator of a fraction = x Denominator = x+4 As per the question, (x+6)/(x+4+7) - (x/(x+4)) (x+6)/(x+11) = (3/14) + x/(x+4) 3x2 +59x-204=0 X= 3, -68/3 X cant be negative Desired sum = 3+3+4 =10
How do you access the value of a variable named `USERNAME` in a shell script?
Slowly Changing Dimension (SCD) is used to:
In shell scripting, how do you assign the string "Hello World" to a variable named `MESSAGE`?
What is the exit status code of a successfully executed command in Linux shell?
Which command is used to display the current working directory in a Unix-like operating system?
How can you make a shell script executable?
Which operator is used to append output to a file?
OLAP is primarily used for:
What does the command `chmod 755 myscript.sh` set as permissions for `myscript.sh`?
Which command is used to display the number of lines in a file?