- Palo alto unified school district General Aptitude Interview Questions
- Palo alto unified school district Trainee Interview Questions
- Palo alto unified school district Personal Questions round Interview Questions
- Palo alto unified school district HR Interview Questions
- Palo alto unified school district Lead Interview Questions
#1: N = 1, f(N) = 1
#2: N = 199981, f(N) = 199981
#3: N = 199982, f(N) = 199982
#4: N = 199983, f(N) = 199983
#5: N = 199984, f(N) = 199984
#6: N = 199985, f(N) = 199985
#7: N = 199986, f(N) = 199986
#8: N = 199987, f(N) = 199987
#9: N = 199988, f(N) = 199988
#10: N = 199989, f(N) = 199989
#11: N = 199990, f(N) = 199990
#12: N = 200000, f(N) = 200000
#13: N = 200001, f(N) = 200001
#14: N = 1599981, f(N) = 1599981
#15: N = 1599982, f(N) = 1599982
Let’s assume the length of each train is ‘L’ and the speeds of the two trains are ‘V₁’ and ‘V₂’ respectively.
When the trains are moving in the opposite direction, their relative speed is the sum of their individual speeds. The total distance they need to cover is the sum of their lengths. Since they cross each other completely in 5 seconds, we can set up the following equation:
(V₁ + V₂) × 5 = 2L
When the trains are moving in the same direction, their relative speed is the difference between their individual speeds. The total distance they need to cover is the difference between their lengths. Since they cross each other completely in 15 seconds, we can set up the following equation:
(V₁ – V₂) × 15 = 2L
Now, let’s solve these equations to find the ratio of their speeds.
From the first equation, we have:
(V₁ + V₂) × 5 = 2L
V₁ + V₂ = (2L) / 5
From the second equation, we have:
(V₁ – V₂) × 15 = 2L
V₁ – V₂ = (2L) / 15
Let’s add these two equations together:
V₁ + V₂ + V₁ – V₂ = (2L) / 5 + (2L) / 15
2V₁ = (6L + 2L) / 15
2V₁ = (8L) / 15
V₁ = (4L) / 15
So, the speed of the first train is (4L) / 15.
Now, let’s substitute this value back into the first equation to find V₂:
(4L) / 15 + V₂ = (2L) / 5
V₂ = (2L) / 5 – (4L) / 15
V₂ = (6L – 4L) / 15
V₂ = (2L) / 15
Therefore, the speed of the second train is (2L) / 15.
The ratio of their speeds is given by:
(V₁ / V₂) = ((4L) / 15) / ((2L) / 15)
(V₁ / V₂) = 4L / 2L
(V₁ / V₂) = 2
So, the ratio of their speeds is 2:1.
5m/sec
15
1/24+1/30+1/40=1/10 => 10 days
4/10 = 0.4
1/(24*0.4)+1/(30*0.4) = 0.1875 => 5.33
(10-4) + 5.33 = 11.3 days
X = 4
I belive it is 3:45 hrmins
there wil be two point of intersections
c