MathGroup Archive 2000

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

Search the Archive

Integrate with If

  • To: mathgroup at smc.vnet.net
  • Subject: [mg22180] Integrate with If
  • From: "Johan Berglind,5879" <johanbe at chl.chalmers.se>
  • Date: Thu, 17 Feb 2000 01:24:14 -0500 (EST)
  • Organization: Chalmers University of Technology
  • Sender: owner-wri-mathgroup at wolfram.com

Why does

	Integrate[If[Sin[t] > 0, 1, 0] , {t, -Pi, Pi}]

evaluate to 2Pi?

	Plot[If[Sin[t] > 0, 1, 0] , {t, -Pi, Pi} ]

looks all right.


Puzzled,

Johan Berglind,
Chalmers, Goteborg,
Sweden.


  • Prev by Date: Method of Characteristics
  • Next by Date: Evaluating expression: help
  • Previous by thread: Method of Characteristics
  • Next by thread: Re: Integrate with If