subject
Mathematics, 10.03.2020 09:00 flex23

A twin primes is a pair of prime numbers such that the difference between them is 2. For example, 5 and 7 are twin primes, and 17 and 19 is another pair of twin primes. Write a program that finds all the twin primes between 10 and 500, save the results in a two-column matrix, and output result nicely formatted. You can use the built-in function, isprime().

ansver
Answers: 3

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 18:00, tatibean26
The ratio of wooden bats to metal bats in the baseball coach’s bag is 2 to 1. if there are 20 wooden bats, how many metal bats are in the bag?
Answers: 1
image
Mathematics, 21.06.2019 20:30, becca2327
Tom is the deli manager at a grocery store. he needs to schedule employee to staff the deli department for no more that 260 person-hours per week. tom has one part-time employee who works 20 person-hours per week. each full-time employee works 40 person-hours per week. write and inequality to determine n, the number of full-time employees tom may schedule, so that his employees work on more than 260 person-hours per week. graph the solution set to this inequality.
Answers: 2
image
Mathematics, 21.06.2019 21:00, wytchnia
List x1, x2, x3, x4 where xi is the midpoint endpoint of the five equal intervals used to estimate the area under the curve of f(x) between x = 0 and x = 10.
Answers: 1
image
Mathematics, 21.06.2019 22:30, Afranker8778
Write the equation of a line that is perpendicular to the given line and that passes through the given point. –3x – 6y = 17; (6, 3) y = x – 9 y = 2x – 9 y = –2x – 9 y = x + 0 3. is the relationship shown by the data linear? if so, model the data with an equation. x y 1 5 5 10 9 15 13 20 the relationship is linear; y – 5 = (x – 1). the relationship is not linear. the relationship is linear; y – 5 = (x – 1). the relationship is linear; y – 1 = (x – 5). write an equation in point-slope form for the line through the given point with the given slope. (–10, –1); m = y + 10 = (x + 1) y – 1 = (x – 10) y – 1 = (x + 10) y + 1 = (x + 10) 5. write an equation for each translation of . 6.5 units up y + 6.5 = | x | y = | 6.5 x | y = | x | + 6.5 y = | x | – 6.5 6. write an equation for each translation of . 5.5 units right y = | x | + 5.5 y = | x – 5.5 | y = | x | – 5.5 y = | x + 5.5 | 7. which equation translates y = | x | by 8 units to the left? y = | x | – 8 y = | x | + 8 y = | x – 8| y = | x + 8|
Answers: 1
You know the right answer?
A twin primes is a pair of prime numbers such that the difference between them is 2. For example, 5...

Questions in other subjects: