[Maxima] [Newbie:] How to discard higher orders of variables?
macrakis at alum.mit.edu
Wed Jul 11 13:34:34 CDT 2007
On 7/11/07, Schirmacher, Rolf <Rolf.Schirmacher at muellerbbm.de> wrote:
> ...My problem is that I want to discard higher order terms within an
> as it is often done when simplifying analytical equations in
> beta is a small quantity, so terms with an order higher than beta^2 (e.g.
> beta^4) should be omitted....
So, the remaining solution coming to my mind was to go to the taylor series:
Yes, this is probably the best approach.
> (%o15) c+sqrt(2)*d+sqrt(2)*e+2*f+((4*f+sqrt(2)*d+2*c+4*a)*beta^2)/4+...
> As a second step, one would have to sort out all terms (manually?) from
> beta^2 term, which occur in the part independent of beta (as they
> the beta^2 << 1 - issue). While this seems to be reasonable for the terms
> given here, it shows up to be rather involved for "real world" equations.
If I understand the question, the following will work:
makelist( ratcoeff(%o15,beta,i), i, 0, 2)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Maxima