Math, asked by nssaini9356, 10 months ago

एवरेज ऑफ फर्स्ट एंड ओड नंबर्स​

Answers

Answered by abdulrahman334
0

Answer:

Average of first n odd naturals numbers

Given a Number n then find the Average of first n odd numbers

1 + 3 + 5 + 7 + 9 +………….+ (2n – 1)

Examples :

Input : 5

Output : 5

(1 + 3 + 5 + 7 + 9)/5 = 5

Answered by Sara1234567
1

Answer: Given a Number n then find the Average of first n odd numbers

1 + 3 + 5 + 7 + 9 +………….+ (2n – 1)

Examples :

Input : 5

Output : 5

(1 + 3 + 5 + 7 + 9)/5 = 5

Input : 10

Output : 10

(1 + 3 + 5 + 7 + 9 + 11 + 13 + 15 + 17 + 19)/10 =10

Hope is helpful.

Similar questions