Chi-ca-go
1(100-1)+ 2(100-2)+…..99(100-99)
N=100
solution: N(N-1)
100(99)= 9900
55967
1km = 1000m
Xkm = 300m
X=0.30km
1hr = 3,600s
X = 40.5s
0.01125hr
Therefore; 0.3km/0.1125hr= 26.6666=26.67km/hr
Ans 635.5
4000
1 year 5 % 200 rs int
Total 4200
2 year 5 % 210 ra int
Total 4410
4410-2210 = 2200
1 year 5% 110
Total 2310
2 year 5 % 115.5 rs int
Total 2425.5
Total interest paid
200 +210+ 110+115.5. = 635.5
1728
3 days
Required Ratio=3:2
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.
Let and A and B are playing and A has 3$ and B won 3 times.
Total money earn by A = no of games A won – no of games A loss
if A loss game means B won.
Therefore
Total money earn by A = no of games A won – no of games B won
3 = no of games A won -3
no of games A won=6
So
A won = 6 games
B won = 3 games
Hence total no of games is 9
c-> structured oriented lang
Pascal-> Procedure oriented lang