It will take 14 seconds, not 20 sec
c-> structured oriented lang
Pascal-> Procedure oriented lang
Ans-44
4x+8=6Y
5X=5Y
X=Y
FROM EQ 1
2X=8
X=4
6Y+5Y=11*4=44
1 ball – 4 runs (1st batter – 94+4=98)
2 ball – 3 runs and one run is short run during running between the wicket (1st batter- 98+3-1 =100)and strike changes for 2nd batter
3 ball – 6 runs ( 2nd batter 94+6=100)
b
The numbers that lie between 100 and 1000 which are divisible by 14 are 112, 126,140 …,994
a = 112; l = 994, d = 14
n= (l−a)/d+1
= (994-112)/14+1
= 64
Sn=n/2(l+a)
= 64/2(994+112)
= 32*1106
= 35392
Triveni Sangam of the river
Ganga, Yamuna, and Saraswati at Allahabad.
B
100
17 secs
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.
10
Greatest number of 5 digits=99, 999
Smallest number of 5 digits=10, 000
And their sum=99, 999+10, 000=109, 999
as a student iam intrested in learning new things.as a fresher i learnt this subject theoretically and iam waiting for an oppurtunity to do them in practical way if you hire me then i will give my best to increase companies reputation