Answer by benjaminfjones for This could be a Maxima question as it relates to...
One way to get around this is to define the real and imaginary parts of the function and find roots of the sum of their squares: sage: x = var('x') sage: f = 1 - exp(I*x) sage: fr = real_part(f) sage:...
View ArticleComment by kcrisman for There are a couple of ways to get around this:sage:...
Yeah, this is a long-standing problem, which unfortunately we've never had the energy to sort through in all cases. Help is welcome - there may be more than one ticket about this.
View ArticleAnswer by DSM for This could be a Maxima question as it relates to find_root,...
There are a couple of ways to get around this: sage: find_root(lambda x: RR(abs(1-exp(I*x))),-1,1) 5.5511151231257827e-17 sage: find_root(simplify(abs(1-exp(I*x))),-1,1) 5.5511151231257827e-17 Under...
View ArticleFinding roots of complex functions
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...
View Article