# Maple 10: solve() and complex numbers

• Aug 3rd 2009, 02:09 AM
ois3001
Maple 10: solve() and complex numbers
Hi all
i've been trying to solve 2 equation with two variables in Maple 10. I got 3 solutions which are complex,
i.e. a list A:=[[ x = ... , y = ...], [...], [...]].
now, A[1,1] gives me the x of the first solution, and I want the real part of it. But when I write Re(A[1,1]) it gives as an answer
R(x) = R(...). the problem is that afterwards I need to use this number (for emaple, in pointplot() ), and Maple doesn't let me.
How do I extract the number itself from Re(A[1,1]) (and not a string)?
• Aug 3rd 2009, 07:17 AM
McScruffy
Quote:

Originally Posted by ois3001
Hi all
i've been trying to solve 2 equation with two variables in Maple 10. I got 3 solutions which are complex,
i.e. a list A:=[[ x = ... , y = ...], [...], [...]].
now, A[1,1] gives me the x of the first solution, and I want the real part of it. But when I write Re(A[1,1]) it gives as an answer
R(x) = R(...). the problem is that afterwards I need to use this number (for emaple, in pointplot() ), and Maple doesn't let me.
How do I extract the number itself from Re(A[1,1]) (and not a string)?