[Tutor] Complex roots

Alan Gauld alan.gauld at freenet.co.uk
Sun Dec 12 18:25:54 CET 2004

> Are these "numerical approximation methods" pythonically possible?

Yes and that's how they are normally found - not necessarily with
but by applying computer simulations of the equations. Generally you
calculate values in ever decreasing increments until you get enough
accuracy. eg you discover a zero crossingh between 3 and 4, then
between 3.3 and 3.4 then between 3.36 and 3.37 and so on...

You also need to look out for double crossings within a single step
change, so don't make the steps too big. And check the number of
roots you expect versus the number you get as an error detection

Alan G.

More information about the Tutor mailing list