Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

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