[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Axiom-developer] [Axiom-mail] [Axiom-mail] [Axiom-mail] A newby questio
From: |
Doug Stewart |
Subject: |
[Axiom-developer] [Axiom-mail] [Axiom-mail] [Axiom-mail] A newby question about eval andExpression |
Date: |
Sun, 13 Nov 2005 22:29:26 -0600 |
Changes http://page.axiom-developer.org/zope/mathaction/AxiomMail/diff
--
William Sit wrote:
>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?
>
>
If I do that then it puts the ones in and that is not what I want.
I want a symbolic answer not a numeric one.
Doug Stewart
--
forwarded from http://page.axiom-developer.org/zope/mathaction/address@hidden