how to assume function value



On Tue, Jun 19, 2007 at 07:14:17PM +0000, Andrew Pinsky wrote:
> Hi!
> 
> I have very long and complicated differential equation. I need to assume (set)
> that any expression multiplied by exp(2*omega*t) is equal to zero. i.e. drop all
> terms of this equation, that is multiplied by exp(2*omega*t).
> 
> Could you please advise me, how to do it? 

use "subst" to substitute 0 for that expression:

(%i1) eqn: exp(2*omega*t)*foo + bar;
                                   2 omega t
(%o1)                        foo %e          + bar
(%i2) subst(0,exp(2*omega*t),eqn);
(%o2)                                 bar



-- 
Daniel Lakeland
dlakelan at street-artists.org
http://www.street-artists.org/~dlakelan