anonymous
  • anonymous
Problem Set 1 Q2. (Have revised my program). My program now finds the correct prime, however I'm still unsure of the outcome of my program. If someone could run the following 2 I'd appreciate it very much. The 11th prime (as I have figured out up to the 11th on paper) is 31, logsum of 26.0243817346 and ratio of 0.839496184987. The, say, 60th prime is 281, the logsum is 265.699392569 and the ratio is 0.945549439746
MIT 6.00 Intro Computer Science (OCW)
  • Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
chestercat
  • chestercat
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
anonymous
  • anonymous
The logsum should not include the 60th prime number's log. Here is a correct answer. Read the instructions carefully. What is n? :60 The nth prime number is 281 The sum of the natural logs of all primes not including n is 260.061037899 The ratio of the sum of the natural logs not including n over n itself is 0.925484120638
anonymous
  • anonymous
Thankyou very much for answering :) okay I can see the sum, it is easy to fix. So I should assume where a question asks for x to y that y is not included unless specified? Well, thankyou!

Looking for something else?

Not the answer you are looking for? Search for more explanations.