What is the average of the cubes of the first 10 natural numbers?
Answers
Answered by
1
Answer:
Given a positive integer N, the task is to find the average of cubes of first N natural numbers.
Examples:
Step-by-step explanation:
Input: N = 2
Output: 4.5
Explanation:
For integer N = 2,
We hvae ( 13 + 23 ) = 1 + 8 = 9
average = 9 / 2 that is 4.5
Input: N = 3
Output: 12
Explanation:
For N = 3,
We have ( 13 + 23 + 23 + 23 + 33 + 23 ) = 27 + 8 + 1 = 36
average = 36 / 3 that is 12
Similar questions
History,
3 months ago
Social Sciences,
3 months ago
India Languages,
9 months ago
Math,
9 months ago
English,
9 months ago