Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Modulus / Absolute Value

  • To: mathgroup at smc.vnet.net
  • Subject: [mg90058] Modulus / Absolute Value
  • From: Felipe Mannshardt <vexie.infamous at googlemail.com>
  • Date: Fri, 27 Jun 2008 06:19:07 -0400 (EDT)

Greetings,

i have been searching the way to tell Mathematica to use Modulus / Absolute Value.  I have been unable to find.

LATEX
\left(\int_0^{\frac{\pi }{2}} f[x] \, dx+\int_{\frac{\pi }{2}}^{\pi } f[x] \, dx\right)+\int_0^{\pi } g[x] \, dx
/LATEX
>
I should be subtracting the upper Integral from the lower Integral,
but since i could not find a way to tell Mathematica to use Modulus /Absolute Value.  I had to add the upper to the lower . . .

my functions are, f and g

LATEX
f[\text{x$\_$}]\text{:=}\text{Sin}[2*x]g[\text{x$\_$}]\text{:=}x^2-(\pi *x)
/LATEX
>
So, can some1 help me out with this one? How to use Modulus/Absolute Value (German, Betrag) with Mathematica.



  • Prev by Date: Re: 0.0 is different with 0?
  • Next by Date: Re: 0.0 is different with 0?
  • Previous by thread: Re: Interpolation and plot doing strange things with mathematica
  • Next by thread: Re: Modulus / Absolute Value