How to Specify an Interval in Mathematica for the Integrate Function?

  • Thread starter Thread starter BCox
  • Start date Start date
  • Tags Tags
    Mathematica
BCox
Messages
16
Reaction score
0
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]?
 
Physics news on Phys.org
Try this:

Code:
Assuming[{L>0&&L<=pi/2},Integrate[...]]
 
i don't understand how including 0 in your integration would change the answer anyhow.. its an integration!
 
elduderino said:
i don't understand how including 0 in your integration would change the answer anyhow.. its an integration!

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

\int_0^{\infty}e^{-kx}dx[/itex]<br /> <br /> which only converges for k&amp;gt;0
 
gabbagabbahey said:
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

\int_0^{\infty}e^{-kx}dx[/itex]<br /> <br /> which only converges for k&amp;gt;0
<br /> <br /> Yes, exactly. L pertains to the integrand.
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top