Quantcast

Got Homework?

Connect with other students for help. It's a free community.

  • across
    MIT Grad Student
    Online now
  • laura*
    Helped 1,000 students
    Online now
  • Hero
    College Math Guru
    Online now

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

ParthKohli

Sage.

  • one year ago
  • one year ago

  • This Question is Closed
  1. satellite73
    Best Response
    You've already chosen the best response.
    Medals 0

    thyme

    • one year ago
  2. ParthKohli
    Best Response
    You've already chosen the best response.
    Medals 0

    I want to define a function which presents everything in interval notation.

    • one year ago
  3. ParthKohli
    Best Response
    You've already chosen the best response.
    Medals 0

    here is an input, for example: ``` In[1]: 34 In[2]: 53 ``` The output is very easy in this case: ``` [34,53] ```

    • one year ago
  4. ParthKohli
    Best Response
    You've already chosen the best response.
    Medals 0

    But what if I have something like this? ``` In[1]: x > 4 ln[2]: x < infinity ``` Where I want ``` [4,infty) ```

    • one year ago
  5. ParthKohli
    Best Response
    You've already chosen the best response.
    Medals 0

    Yup. @experimentX I know that you are rad at programming. Can you help?

    • one year ago
  6. experimentX
    Best Response
    You've already chosen the best response.
    Medals 0

    what do you want to do?

    • one year ago
  7. drfrankenstein
    Best Response
    You've already chosen the best response.
    Medals 0

    rad? welcome to 1990s

    • one year ago
  8. ParthKohli
    Best Response
    You've already chosen the best response.
    Medals 0

    @TuringTest You, please?

    • one year ago
  9. ParthKohli
    Best Response
    You've already chosen the best response.
    Medals 0

    OK, on second thought, I want something like this: ``` Number 1: 4 Number 2: infinity Inequality type: closed. ``` And the output is... ``` [4,infty) ```

    • one year ago
  10. ParthKohli
    Best Response
    You've already chosen the best response.
    Medals 0

    Just an interval notation.

    • one year ago
  11. experimentX
    Best Response
    You've already chosen the best response.
    Medals 0

    I don't think you could do that, because the set of real number is both closed and open set.

    • one year ago
  12. experimentX
    Best Response
    You've already chosen the best response.
    Medals 0

    [4, infinity) could be both (neither closed nor open) and (closed set)

    • one year ago
  13. ParthKohli
    Best Response
    You've already chosen the best response.
    Medals 0

    hmm...

    • one year ago
  14. experimentX
    Best Response
    You've already chosen the best response.
    Medals 0

    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?

    • one year ago
  15. ParthKohli
    Best Response
    You've already chosen the best response.
    Medals 0

    I don't have Mathematica; my computer got formatted :-(

    • one year ago
  16. experimentX
    Best Response
    You've already chosen the best response.
    Medals 0

    on what language are you planning to write it?

    • one year ago
    • Attachments:

See more questions >>>

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.