Question
The average of 8 consecutive odd
numbers is 20. If the odd numbers immediately before and after this sequence of 8 odd numbers are also included, what will the new average be?Solution
ATQ, Total sum of 8 consecutive odd numbers = 20 X 8 = 160 According to Arithmetic progression: Sum = n/2[2a+(n-1)×d] [where n = number of terms, 'a' = irst term and 'd' = common dierence] Or, 160 = 8/2[2a+(8-1)×2] Or, 40 = 2a + 7 × 2 Or, 26 = 2a So, 'a' = 13 Last number = a + (n - 1) × d = 13 + (8 - 1) × 2 = 27 Previous odd number to these numbers = 13 - 2 = 11 And, next odd number to these numbers = 27 + 2 = 29 So, required average = (160+11+29)/10 = 200 ÷ 10 = 20 Alternate Solution Since, the number that are included is equally more and less than sum of the given 8 numbers, therefore, there eect will cancel out and the average will remain sum.
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?