This could be a Maxima question as it relates to find_root, find_minimum_on_interval, etc.
When I try to find the root of a function involving I
(complex numbers) I get:
TypeError: float() argument must be a string or a number
For example, find_root(abs(1-exp(I*x)),-1,1)
.