IDNStudy.com, kung saan ang iyong mga tanong ay may malinaw na sagot. Magtanong at makakuha ng detalyadong sagot mula sa aming komunidad ng mga eksperto.
Sagot :
[tex]\huge\bold\green{\boxed{\tt •ANSWER•}}[/tex]
[tex]\huge\bold\blue{\boxed{\tt •EXPLANATION•}}[/tex]
( This Might Help You. )
To find the average of even numbers till a given even number, we will add all the even number till the given number and t count the number of even numbers. Then divide the sum by the number of even numbers.
EXPLANATION:
Average of even numbers till 10 is 6 i.e.
2 + 4 + 6 + 8 + 10 = 30 => 30/ 5 = 6There are two methods for calculating the average of even number till n which is an even number.
- Using Loop
- Using Formula
Program to find the average of even number till n using loops:
To calculate the average of even numbers till n, we will add all even numbers till n and then divide in by the number of even number till than.
Program to find the average of even numbers till n using Formula:
To calculate the average of even numbers till n we can use a mathematical formula (n+2)/2 where n is an even number which is the given condition in our problem.
_________________
_________________
#Brainly
#LearnAtBrainly
#CarryOnLearning
#BrainlyBunch
Answer:
21
Step-by-step explanation:
average=sum of observations/no observations
2+4+6...+40/20
2(1+2+3...+20)/20
1+2+3...+20/10
sum of n natural number = n (n+1)/2
sum of natural number till 20 = 20×21/2 = 210
210/10
=21
i hope this will be a help... can you mark this as a brainliest answer
Salamat sa iyong presensya. Patuloy na magbahagi ng iyong mga ideya at kasagutan. Sama-sama tayong magpapaunlad ng isang komunidad ng karunungan at pagkatuto. May mga katanungan ka? Ang IDNStudy.com ang may sagot. Bisitahin kami palagi para sa pinakabagong impormasyon.