MetroEye: Refer to Preogression02
The sequence in which passengers are picked up is 1,2,3.....
So when the sum of consecutive numbers reach 78, the train will be full.
i.e; 1+2+3+......+N = 78
Here S = 78
N = \(\dfrac{\sqrt{1+8S} -1}{2}\) = \(\dfrac{\sqrt{1+8*78} -1}{2}\) = \(\dfrac{\sqrt{1+624} -1}{2}\) = \(\dfrac{\sqrt{625} -1}{2}\) = \(\dfrac{25-1}{2}\) = 12
=> 1+2+3+4+5+6+7+8+9+10+11+12 = 78
So the train will be full after 12 stops.
No comments :
Post a Comment