Question
Two trains X and Y start at the same time in the
opposite direction from two points P and Q and arrive at their destinations 100 and 81 hours respectively after their meeting each other. At what speed does the second train Y travel if the first train travels at 108 km/h.ÂSolution
Let the speed and time of two trains be s1 and s2, and t1 and t2. s1/s2 = (t2/t1)1/2 => 108/s2 = 9/10 => s2 = 120 km/hr.
In shell scripting, which command is used to read input from the user?
Which command is used to check the current working directory in Linux?
Which symbol is used for variable substitution in shell scripting?
Which command is used to display the current working directory?
Which command is used to find the number of lines, words, and characters in a file?
OLAP is primarily used for:
In Bash, which syntax is used for arithmetic expansion?
Which command is used to display the contents of a file in Linux?
Which command safely iterates over filenames that may contain spaces and newlines in a shell script?
How do you typically make a shell script file executable?