Problem Parsing an expression



On 2012-11-30, David Ronis <ronis at ronispc.chem.mcgill.ca> wrote:

> Expression:-((K[0](k[0],xi)*xi*((S(k[0])*xi^2
> +k[0]^2*S(k[0])-2*k[0]^2*S[eq](k[0]))*D-S(k[0])*Gam)
> *exp(t[0](-D*xi^2-Gam)-D*k[0]^2*t[3]))
> /((D*(xi^2-k[0]^2)-Gam)*(D*(xi^2-k[0]^2)+Gam)*(D*(xi^2+k[0]^2)-Gam)))
> -((S[eq](k[0])*K[0](k[0],xi)*xi
> *exp(t[0](D*k[0]^2-2*Gam)-D*k[0]^2*t[3]))
> /(2*(D*k[0]^2-Gam)*(D*(xi^2+k[0]^2)-Gam)))
> +(((S(k[0])-S[eq](k[0]))*K[0](k[0],xi)*xi*exp(t[0](-D*k[0]^2-2*Gam)-D*k[0]^2*t[3]))
> /(2*Gam*(D*(xi^2-k[0]^2)-Gam)))
> -((K[0](k[0],xi)*xi*(k[0]^2*(S(k[0])-S[eq](k[0]))*D-S(k[0])*Gam)*exp(-D*k[0]^2*t[3]-D*k[0]^2*t[0]))
> /(2*Gam*(D*k[0]^2-Gam)*(D*(xi^2-k[0]^2)+Gam)))$

This expression contains some terms t[0](...) which Maxima happily
parses as memoizing function expressions -- I guess t[i] is supposed to
be a multiplicative factor so maybe you meant t[0]*(...). After changing
that, I get "They are the same" at the end. O happy day!

HTH

Robert Dodier