MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

Series

  • To: mathgroup at smc.vnet.net
  • Subject: [mg42663] Series
  • From: Konstantin L Kouptsov <kouptsov at wsu.edu>
  • Date: Sat, 19 Jul 2003 03:19:48 -0400 (EDT)
  • Organization: Washington State University
  • Sender: owner-wri-mathgroup at wolfram.com

When expanding a function of several arguments in series,
I want to retain only terms having the total power not more than some
number. For example:

Series[Sin[x - y^2], {x, 0, 3}, {y, 0, 3}]// Normal// Expand

gives

x - x^3/6 - y^2 + x^2 y^2/2

with the unwanted last term of power 4. How to do this in
elegant/efficient way?

One way is to do

Series[Sin[a x - (a y)^2], {a, 0, 3}] /.{a->1}	

but as the function gets more complicated, this way becomes ugly.

-- 
Konstantin L Kouptsov
Department of Physics, Washington State University


  • Follow-Ups:
    • Re: Series
      • From: Daniel Lichtblau <danl@wolfram.com>
  • Prev by Date: Re: displaying a graphic without input
  • Next by Date: Eulerian angles
  • Previous by thread: AW: displaying a graphic without input
  • Next by thread: Re: Series