Question
Seven years ago from now, the ratio of ages of Om and
Jai was 3:4, respectively. Six years hence from now, the ratio of ages of Veer and Jai will be 4:5, respectively. If Veer is 2 years younger than Om, then find the age of Om, 'a' years hence from now, where 'a' is the smallest two-digit prime number.Solution
Let the ages of Om and Jai 7 years ago be 3x years and 4x years, respectively. Age of Veer 7 years ago = 3xβ2 years Age of Om now = 3x+7 Age of Jai now = 4x+7 Six years hence: Age of Om = 3x+7+6=3x+13 Age of Jai = 4x+7+6=4x+13 Age of Veer = 3x+13β2=3x+11 Given: Solving the equation: 5Γ(3x+11)=4Γ(4x+13) 15x+55=16x+52 16xβ15x=55β52 x=3 Since 11 is the smallest two-digit prime number: Age of Om, 11 years hence = 3x+7+11=3Γ3+7+11=27 years.
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?