• anonymous
I'm on problem set 1, question 2. i'm unable to approach question 2 properly. Can anyone please helpout?
MIT 6.00 Intro Computer Science (OCW)
  • Stacey Warren - Expert
Hey! We 've verified this expert answer for you, click below to unlock the details :)
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.
  • schrodinger
I got my questions answered at in under 10 minutes. Go to now for free help!
  • e.mccormick
List out the question. Not everyone that might answer it knows them by heart.
  • anonymous
What are you having trouble with, specifically? I just did this one and spent quite a while on it. After assigning variables to the input and making them floats, you're basically going to have to do two things. You'll create a "for" or a "while" loop which simulates the passage of 12 months of interest accrual and payments with a given payment. Then you'll need to nest that within another loop which incrementally increases the monthly payment amount. This way, you can quickly simulate a year with many possible monthly payments.
  • anonymous
If you post the question and the code you're working with we can offer more help.

Looking for something else?

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