Find the average of all the odd numbers and average of all the even numbers from 1 to 45.
According to the formula, Average of 1 to n odd numbers
=Last odd number+12
Here, the last odd number = 45
∴ Average of 1 to 45 odd numbers
=45+12=462=23
Again, according to the formula,
Average of 1 to n even numbers
=Last even number+22
Here, last even number = 44
∴ Average of 1 to 44 even numbers
=44+22=462=23