A community for students.
Here's the question you clicked on:
 0 viewing
aparna.b
 2 years ago
can anyone post problem set 2 solutions?
aparna.b
 2 years ago
can anyone post problem set 2 solutions?

This Question is Open

RCMorea
 2 years ago
Best ResponseYou've already chosen the best response.1You know they are posted already right? Problem Set 2 is due in lecture 6, and there is a zip file of solutions right there.

aparna.b
 2 years ago
Best ResponseYou've already chosen the best response.0mit 6.00x intro computer science.

zaraali
 2 years ago
Best ResponseYou've already chosen the best response.0I have seen there but their is no code.

zaraali
 2 years ago
Best ResponseYou've already chosen the best response.0in lecture no 6. can you please tell me where that code is located in lec. 6

aparna.b
 2 years ago
Best ResponseYou've already chosen the best response.0i hav no idea where the code is in lec6

zaraali
 2 years ago
Best ResponseYou've already chosen the best response.0RcMorea can you please tell where the problem set 2 in lecture 6? please help

zaraali
 2 years ago
Best ResponseYou've already chosen the best response.0please can anyone tell me that in code how to subtract the payment and add the interest for each month ? in paying the minimum assignment. please help

Suchandrarao
 2 years ago
Best ResponseYou've already chosen the best response.0@bwCA wht is this you have posted above

aparna.b
 2 years ago
Best ResponseYou've already chosen the best response.0im not getting correct

JayKay55
 2 years ago
Best ResponseYou've already chosen the best response.0I'm really looking for the solutions as well. I found out about the class late (yesterday) and would really like to be able to proceed with the course without a missing assignment over my head.

bwCA
 2 years ago
Best ResponseYou've already chosen the best response.0@Suchandrarao that code will find the minimum payment required to pay off a debt (with interest) in twelve months

RCMorea
 2 years ago
Best ResponseYou've already chosen the best response.1It looks to me like you are doing the "first" problem set...not counting the one where you just set up python. The similar problem set in the 2011 course has it's answers at the bottom of the 4th lecture for 2011, in a zip file. Here: http://ocw.mit.edu/courses/electricalengineeringandcomputerscience/600scintroductiontocomputerscienceandprogrammingspring2011/unit1/lecture4machineinterpretationofaprogram/ps1_sol.zip.

RCMorea
 2 years ago
Best ResponseYou've already chosen the best response.1Of course I recommend you don't look at that until you have tried for quite a few hours yourself, but its there...

JayKay55
 2 years ago
Best ResponseYou've already chosen the best response.0I've actually seen those previously and unless I'm doing something wrong, they don't match the 'test answers' they suggest you use before submitting.

RCMorea
 2 years ago
Best ResponseYou've already chosen the best response.1I recall someone else saying they were getting an answer...450, if I recall...and the supposedly correct answer was 440. So, I ran it in my code and also got the same answer they did (have to admit I'm not really an expert here). So, I made an Excel spreadsheet, and it came up with the same answer too... So, I have to ask...are you getting 450 and the supposedly correct answer is 440?

JayKay55
 2 years ago
Best ResponseYou've already chosen the best response.0If the question you're referencing is "test case 2" under problem 2, then yes I'm having the same issue.

RCMorea
 2 years ago
Best ResponseYou've already chosen the best response.1personally, i think 450 is correct. i know one other person got that, i got that, and like i said, an Excel file which simply takes the original balance, times the interest rate, minus the payment, 12 times, yields a paidoff balance on 450, but a not paidoff balance on 440. Now, I'm not in your class and don't actually have your instruction sheet, so maybe there is some subtle thing, but otherwise thats how it seems to me.

RCMorea
 2 years ago
Best ResponseYou've already chosen the best response.1For what it's worth, I can think of one way 440 might be right...if you subtract the payment BEFORE you add the interest I think 440 might be right...so then that is just a question of what the instructions said to do...

JayKay55
 2 years ago
Best ResponseYou've already chosen the best response.0Well, I'm either just going to do the assignment late or genuinely attempt it myself after I've finished the lecture sequences and finger exercises. Tick tock until 10pm, I suppose! Thank you for the information, in any case.
Ask your own question
Sign UpFind more explanations on OpenStudy
Your question is ready. Sign up for free to start getting answers.
spraguer
(Moderator)
5
→ View Detailed Profile
is replying to Can someone tell me what button the professor is hitting...
23
 Teamwork 19 Teammate
 Problem Solving 19 Hero
 Engagement 19 Mad Hatter
 You have blocked this person.
 ✔ You're a fan Checking fan status...
Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.