Quantcast
Channel: ASKSAGE: Sage Q&A Forum - RSS feed
Browsing latest articles
Browse All 4 View Live

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 Article



Comment 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 Article

Answer 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 Article

Finding 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
Browsing latest articles
Browse All 4 View Live


Latest Images