Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 21 Online
OpenStudy (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

OpenStudy (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

OpenStudy (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!

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Arriyanalol: i need help
1 day ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
1 day ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!