ParthKohli
  • ParthKohli
Sage.
Mathematics
  • Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
schrodinger
  • schrodinger
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
anonymous
  • anonymous
thyme
ParthKohli
  • ParthKohli
I want to define a function which presents everything in interval notation.
ParthKohli
  • ParthKohli
here is an input, for example: ``` In[1]: 34 In[2]: 53 ``` The output is very easy in this case: ``` [34,53] ```

Looking for something else?

Not the answer you are looking for? Search for more explanations.

More answers

ParthKohli
  • ParthKohli
But what if I have something like this? ``` In[1]: x > 4 ln[2]: x < infinity ``` Where I want ``` [4,infty) ```
ParthKohli
  • ParthKohli
Yup. @experimentX I know that you are rad at programming. Can you help?
experimentX
  • experimentX
what do you want to do?
anonymous
  • anonymous
rad? welcome to 1990s
ParthKohli
  • ParthKohli
@TuringTest You, please?
ParthKohli
  • ParthKohli
OK, on second thought, I want something like this: ``` Number 1: 4 Number 2: infinity Inequality type: closed. ``` And the output is... ``` [4,infty) ```
ParthKohli
  • ParthKohli
Just an interval notation.
experimentX
  • experimentX
I don't think you could do that, because the set of real number is both closed and open set.
experimentX
  • experimentX
[4, infinity) could be both (neither closed nor open) and (closed set)
ParthKohli
  • ParthKohli
hmm...
experimentX
  • experimentX
try something like this around in mathematica `f[a_, b_] := If[NumericQ[a] && NumericQ[b], Print["Closed"], Print["Open"] ] ` ` f[1,2] ` BTW how did you put those colorful text?
ParthKohli
  • ParthKohli
I don't have Mathematica; my computer got formatted :-(
experimentX
  • experimentX
on what language are you planning to write it?

Looking for something else?

Not the answer you are looking for? Search for more explanations.