Quantcast

A community for students.

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

aparna.b

  • 2 years ago

can anyone post problem set 2 solutions?

  • This Question is Open
  1. RCMorea
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    You know they are posted already right? Problem Set 2 is due in lecture 6, and there is a zip file of solutions right there.

  2. bwCA
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    which course?

  3. aparna.b
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    mit 6.00x intro computer science.

  4. zaraali
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    I have seen there but their is no code.

  5. zaraali
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    in lecture no 6. can you please tell me where that code is located in lec. 6

  6. aparna.b
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    i hav no idea where the code is in lec6

  7. zaraali
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    RcMorea can you please tell where the problem set 2 in lecture 6? please help

  8. zaraali
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    please 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

  9. bwCA
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    http://dpaste.com/994192/

  10. Suchandrarao
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    @bwCA wht is this you have posted above

  11. aparna.b
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    im not getting correct

  12. JayKay55
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    I'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.

  13. bwCA
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    @Suchandrarao that code will find the minimum payment required to pay off a debt (with interest) in twelve months

  14. RCMorea
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    It 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/electrical-engineering-and-computer-science/6-00sc-introduction-to-computer-science-and-programming-spring-2011/unit-1/lecture-4-machine-interpretation-of-a-program/ps1_sol.zip.

  15. RCMorea
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    Of course I recommend you don't look at that until you have tried for quite a few hours yourself, but its there...

  16. JayKay55
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    I'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.

  17. RCMorea
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    I 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?

  18. JayKay55
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    If the question you're referencing is "test case 2" under problem 2, then yes I'm having the same issue.

  19. RCMorea
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    personally, 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 paid-off balance on 450, but a not paid-off 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.

  20. RCMorea
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    For 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...

  21. JayKay55
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Well, 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.

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

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy

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
  • 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.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.