Call from HR for interview in an unexpected time!
as total 16 floors out of them 11 were rented to A and B company .So remaining floors are 5 and each floor is 12000s.ft
So remaining = 12000*5
=60000
d
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.
21
28 Sec
C. 20
I am working institute
these r all factors of 30
1*30=30
2*15=30
3*10=30
5*6=30
like that
4/5
c-> structured oriented lang
Pascal-> Procedure oriented lang