Heyy,
> The symbol "z" is used for integers already, so that's out. I wonder if
> any of our equation-solving backends ever return complex parameters...
> on the other hand, the Maxima documentation doesn't say they're real:
>
No. I guess the back end does return a complex parameter in cases where the
answer is a complex solution.
This might be an appropriate example:
{ { sage:
x = var('x')
eq = x^2 -3*x + 4
solve(eq,x)
[x == -1/2*I*sqrt(7) + 3/2, x == 1/2*I*sqrt(7) + 3/2]
} }
Here, in this example, the parameter used is 'I'. Since every real number
can be represented in complex form, we have two options here to solve this
problem:
1. Just change the documentation and define 'r' to be a complex number.
2. Go to the code which contains this and then add a new complex
parameter.
I am ready to solve using any of the method which the developers think
would be appropriate. I believe first option is short and feasible.
Thanks and Regards,
Ashutosh Ahelleya
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.