Instructions are attached.
Here is the Newton referred to in problem one:
def Newton(f, df, z0, epsilon):
n = 0
zn = z0
while abs(F(zn)) >= epsilon:
Zn = zn - F(zn)/dF(zn)
Zn = Zn
if n==25:
return none
n = n + 1
return zn
Python: Newton Method with complex numbers. Need assignment 11 done. Its attached
I keep getting the complex division by zero. I believe I need to check if the absolute value of the denominator is small.
Assignment 9 is attached if you need reference.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 1 | 2 | 3 | 4 | 5 |