Math, asked by mdjuned78692786, 8 months ago

Find the ratio of the prime numbers to composite numbers from 11 to 25.​

Answers

Answered by priyanandani7002
0

Answer:

Find the first 10 primes, and store them in p:

]p=.p:i.10

2 3 5 7 11 13 17 19 23 29

Count the primes in the range 2 - 25:

+/p e.~ 2 to 25

9

Count the non-primes in the range 2–25:

+/-.p e.~ 2 to 25

15

So the ratio is 9/15 or 3/5.

Answered by kavya837176
1

Step-by-step explanation:

composite numbers from 11 to 25 are 12, 14,15,16,18,20,21,22,24,25

other are prime numbers

Similar questions