Question
The average weight of 5 people increases by 2 kg if a
new person replaces one weighing 60 kg. What is the weight of the new person?Solution
Let average weight of 5 men be x, then Sum of weight of 5 men = 5x If a man replaced, then average weight of 5men = (x + 2) If a man replaced, then sum of weight of 5men = 5 (x + 2) = 5x + 10 Let weight of new man be y, then According to the question 5x – 60 + y = 5x + 10 ⇒ y = 5x + 10 + 60 – 5x ∴ y = 70 Short Trick: Weight of new man = increase weight × number of persons + weight of replace man ∴ Weight of new man = 2 × 5 + 60 = 70 kg
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?