Using bisection search to determine

后端 未结 2 503
有刺的猬
有刺的猬 2021-01-17 05:48

I have posted other thread but it did not receive answers thus i\'m trying to provide some of my work to make more clear.

I need to use bisection method to determine

2条回答
  •  心在旅途
    2021-01-17 06:27

    This is the key:

    while abs(x) > epsilon:
        x = balance
        for month in range(0, 12):
            x = (x - ans) * (1+monthly_interest)
    

提交回复
热议问题