MathGroup Archive 2002

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

Search the Archive

Integrate fails without warning?

  • To: mathgroup at
  • Subject: [mg35242] Integrate fails without warning?
  • From: "Raf" <r_a_f at>
  • Date: Wed, 3 Jul 2002 05:15:53 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

This regards not only Calculus`Integration`, but also the built-in
Defining a square wave...
In[1]:= ondQua[t_] := If[OddQ[Floor[2t]], -1, 1]
....Mathematica fails completely in computing its defined integral...
In[2]:= Integrate[ondQua[t], {t, 0, 1}]
Out[2]= 1
....without any warning or error message !!!
How is it possible?

With NIntegrate the things goes better, but i believe that a similar risk
with Integrate would have to be documented somewhere; if exists some notes
about this using of Integrate on Mathematica-help, please tell me where.

Waiting your answers,

  • Prev by Date: Parametric surface
  • Next by Date: Help: Problem with an integral
  • Previous by thread: Re: Parametric surface
  • Next by thread: Re: Integrate fails without warning?