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.
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!
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)
Also , I am a complete beginner at Python, I only know a little Java
print 'Low Payment is : ' str(pmt) u miss a +before str: print 'Low Payment is : ' +str(pmt)
Thanks, its wrong anyway, back to drawing board.
Only 1 more day to get it
Just get infinite loop
Join our real-time social learning platform and learn together with your friends!