Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

minimallinux

  • 3 years ago

I can't get how the bisection method from the video (square root) is applied to the problem set. It is not the same problem as the square root, it is to keep guessing the lowest payment which pays off the balance within a year but that is not shown.

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

    Tips: - You will be using the min and max payments as upper and lower boundaries to the bisection method - The test will be performed on the remaining balance after the 12 month iteration. Depending on the balance's sign you will reassign either the upper or lower boundary accordingly. Does that kind of help? Any more and it would be the whole solution I guess!

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

    What is the balances 'sign' and the12 month iteration ? (bwo explanation I suffer from extreme anxiety due to past events and I have problems concentrating and absorbing things at present)

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

    Also , I am a complete beginner at Python, I only know a little Java

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

    http://codepad.org/u0GrGUg0 wont print says error

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

    print 'Low Payment is : ' str(pmt) u miss a +before str: print 'Low Payment is : ' +str(pmt)

  6. minimallinux
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Thanks, its wrong anyway, back to drawing board.

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

    Only 1 more day to get it

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

    Just get infinite loop

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