[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
## [Axiom-developer] [Axiom-mail] [Axiom-mail] A newby question about eval

**From**: |
William Sit |

**Subject**: |
[Axiom-developer] [Axiom-mail] [Axiom-mail] A newby question about eval andExpression |

**Date**: |
Sun, 13 Nov 2005 21:45:31 -0600 |

Changes http://page.axiom-developer.org/zope/mathaction/AxiomMail/diff
--
Doug Stewart wrote:
>* But it is a constant ---- How can I tell axiom that it is a constant?*
>* I tried this way but :-(*
>* )clear all*
>* digits 20*
>* -- n:=x^3+a1*x^2+a2*x+a3 ::Polynomial Fraction Integer*
>* *
>* a1:=1*
>* a2:=1*
>* a3:=1*
>* *
>* Q:=(3*'a2-'a1^2)/9*
>* R:=(9*'a1*'a2-27*'a3-2*'a1^3)/54*
>* S: Complex Float :=(R+(Q^3+R^2)^(1/2))^(1/3)*
>* *
>* I thought that if I gave a1 a2 a3 some in integer values, that Maxima*
>* would then know that it was a constant but no it thinks it is a variable????*
>* *
Perhaps you try removing the single quotes?
William
--
forwarded from http://page.axiom-developer.org/zope/mathaction/address@hidden

**[Axiom-developer] [Axiom-mail] [Axiom-mail] A newby question about eval andExpression**,
*William Sit* **<=**