Here's one way to do what you want:
(%i1) a + b - c - y + z;
(%o1) z - y - c + b + a
(%i2) apply(op(%),map(abs,args(%)));
(%o2) abs(z) + abs(y) + abs(c) + abs(b) + abs(a)
Viktor
-----Original Message-----
From: maxima-admin@math.utexas.edu [mailto:maxima-admin at math] On
Behalf Of bertrand de SAINT-JEAN
Sent: Friday, May 27, 2005 9:38 AM
To: maxima@math.utexas.edu
Subject: Over estimation
Hello !!
I am a new user of maxima and it is a great tool, but I have a little
problem that why i am asking you this question. How can I majorate a sum,
that is to say : I have :
T = a + b - c + .... - y + z
and I want to majorate the term T with :
maxT = abs(a) + abs(b) + abs(c) ... +abs(y) + abs(z)
maxT will be the sum of absolute values of the initial sum.
Thank you, I hope that my question is quite clear.
Sincerely yours.
Bertrand
--
Bertrand de SAINT-JEAN
Adresse: ENSG / LAREG
6 et 8 avenue Blaise Pascal
Cite Descartes
Champs-sur-Marne
77455 MARNE LA VALLEE CEDEX 2
FRANCE
Email : desaintjean_arobase_ensg.ign.fr
Tel : 01 64 15 32 58