Question
Two person A and B started from same place and in same
direction with speed of 48km/hr and 40km/hr respectively .The speed of person B increased by ½ km every hr. after what time A and B will meet .Solution
Let the time be = t hrs , speed be= 48 km/hr , distance = 48× t Distance travelled by B forms an AP = 40, 40½, 41, 41½ , ………………………. t terms Where First term is 40 and Common difference is 1/2 Now, Sum of n terms = Sn = n/2 [2a + (n-1)d] = distance covered by A Sn = t/2 [2 × 40 + (t-1) 1/2] 48t= t/2 [2 × 40 + (t-1) 1/2] 96 = 80 + (t – 1) 1/2 16 = (t – 1) 1/2 33 = t Therefore A and B will meet after 33 hours
What is false about linked list?
Which layer of the TCP/IP model is responsible for IP addressing and routing?
Which hazard occurs when there is a conflict in accessing a shared resource, such as a register file or an ALU, in an instruction pipeline?
Which consensus mechanism is used by Bitcoin, the first blockchain-based cryptocurrency?
In dynamic programming, what does "optimal substructure" mean?
What is a "token" in lexical analysis?
Which sorting algorithm is known for its best-case time complexity of O(n) when the input is already partially sorted?
Which data visualization technique is commonly used to represent the frequency distribution of a large dataset?
An XML document is a string of ____.
Which of the following algorithm is most sensitive to outliers?