# Homework Help: Specify ( ] in Mathematica

1. Sep 19, 2009

### BCox

Hello:

I would like to use Mathematica Integrate function. But how do I specify the following interval

(0 , Pi/2 ]

?

When I write

L \[Element] (0, Pi/2]

It simply bolds ( and ] in orange in error.

How do I get Mathematica to recognize that for the integrand, my value L is in (0, Pi/2]?
1. The problem statement, all variables and given/known data

2. Relevant equations

3. The attempt at a solution

2. Sep 19, 2009

### gabbagabbahey

Try this:

Code (Text):
Assuming[{L>0&&L<=pi/2},Integrate[...]]

3. Sep 19, 2009

### elduderino

i dont understand how including 0 in your integration would change the answer anyhow.. its an integration!

4. Sep 19, 2009

### gabbagabbahey

I don't think he is integrating over $L$. I think $L$ is a parameter that occurs in the integrand, and its value affects whether the integral converges, and to which value.

A simple example is the integral

[tex]\int_0^{\infty}e^{-kx}dx[/itex]

which only converges for $k>0$

5. Sep 21, 2009

### BCox

Yes, exactly. L pertains to the integrand.