|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
IntervalMemberQ
IntervalMemberQ[interval, x]
gives True if the number x lies within the specified interval, and False otherwise.
IntervalMemberQ[interval1, interval2]
gives True if
is completely contained within
.
DetailsDetails
- IntervalMemberQ has attribute Listable.
ExamplesExamplesopen allclose all
Basic Examples (1)Basic Examples (1)
Test whether
lies in the interval 2 through 5:
| In[1]:= |
| Out[1]= |
New in 3
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
