Math, asked by swapnasuperbls9254, 11 months ago

Average of all prime and composite numbers upto 100

Answers

Answered by nk3566595gmailcom
5

Answer:

2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,93,89 and 97 hope it help uhhh

Answered by monkeyking01
7

\bf{\huge{\underline{\boxed{\tt{\blue{Answer:}}}}}}

Prime numbers:-

Numbers which are divisible by 1 or by themselves are called as prime numbers.

Composite numbers:-

Numbers which are divisible by 1, itself and by any other number are called as composite numbers.

In this question, excluding the number 1 each and every number beginning from 2 to 100 are prime or either composite.

There are 25 prime numbers between 1 and 100.

2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71,73 ,79, 83 ,89,97.

Find the sum of all the numbers.

Sum = 2 + 3 + 5 + 7....... + 97 = 1060

Average: \bf\frac{Sum\:of\:all \:terms}{Number \:of \:terms}

Average = \bf\frac{\cancel{1060}}{\cancel{25}}

\bf{\large{\underline{\boxed{\red{ Average = 42.4}}}}}

There are 74 composite numbers between 1 to 100.

4, 6, 8, 9, 10, 12, 14, 15, 16, 18, 20, 21, 22, 24, 25, 26, 27, 28, 30, 32, 33, 34, 35, 36, 38, 39, 40, 42, 44, 45, 46, 48, 49, 50, 51, 52, 54, 55, 56, 57, 58, 60, 62, 63, 64, 65, 66, 68, 69, 70, 72, 74, 75, 76, 77, 78, 80, 81, 82, 84, 85, 86, 87, 88, 90, 91, 92, 93, 94, 95, 96, 98,99

Again calculate the sum of all the terms.

Sum = 4 + 6 + 8 + 9......+ 99 = 3889

Average = \bf\frac{\cancel{3889}}{\cancel{74}}

\bf{\large{\underline{\boxed{\blue{<strong> </strong><strong>Average </strong><strong>=</strong><strong> </strong><strong>52.55</strong>}}}}}

\bf{\large{\underline{\boxed{\mathcal{\orange{Signing\:off\:MonkeyKing01}}}}}}

Similar questions