MathGroup Archive 1997

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

Search the Archive

Help! Sin[n Pi] (n Integer)

  • To: mathgroup at
  • Subject: [mg8942] Help! Sin[n Pi] (n Integer)
  • From: dwarf at (Dwarf)
  • Date: Sat, 4 Oct 1997 22:08:18 -0400
  • Organization: University of Maryland, College Park, MD
  • Sender: owner-wri-mathgroup at

Does anyone know if there's a way to specify that a variable is an

I'm taking a conduction class (with *lots* of separation of variables
problems) and the quantities Sin[n Pi] or Cos[(2n+1)/2 Pi] come
up constantly.  I can dispose of them with replacement rules, but I was
wondering if there's a way to "tag" n as an integer so that Mma will
automatically kill the Sin and Cos terms later in the derivations.

It seems like the "specify that a is real so that Sqrt[a^2] automatically
reduces to a without using PowerExpand" problem from way back and I don't
remember the solution (if there was one)


Greg Anderson
dwarf at

  • Prev by Date: Re: trig expansion
  • Next by Date: Re: NIntegrate where terms of integrand have unknown constant coefficients
  • Previous by thread: Re: Order of execution of initialization cells
  • Next by thread: Re: Help! Sin[n Pi] (n Integer)