## precal 3 years ago Anyone know how to graph a piecewise in wolframalpha?

1. precal

|dw:1339349381367:dw| I know how to graph a piecewise, just wondering if it can be done in wolframalpha

2. experimentX

google :) http://www.wolframalpha.com/input/?i=plot+Piecewise [{{x%2F25%2C0%3C%3Dx%3C5}%2C{2%2F5-x%2F25%2C5%3C%3Dx%3C%3D10}%2C{0%2Cx%3E10}%2C{0%2Cx%3C0}}]

3. mahmit2012

|dw:1339349449164:dw|

4. experimentX

http://www.wolframalpha.com/input/?i=plot+Piecewise [{{x^2+-5%2Cx%3C%3D3}%2C{x%2B2%2Cx%3E3}}]

5. mahmit2012

you have to erase some peaces of x2 for x>3 and draw x+2 instead of that .

6. experimentX

a better view http://www.wolframalpha.com/input/?i=plot+Piecewise [{{x^2+-5%2Cx%3C%3D3}%2C{x%2B2%2Cx%3E3}}]+from+-10+to+10

7. precal

I tried to just go to your link but I am not seeing the graph at all

8. mahmit2012

I guess you have to make your question is wolfram.

9. Study23

Try this, @precal: http://j.mp/LrfxRG

10. precal

@Study23 that is perfect, thanks

11. Study23

You're welcome.

12. experimentX

the link is broken ... copy and paste whole link

13. precal

thanks experimentX

14. robtobey

Refer to the attached Mathematica plot. This is the first use of the Piecewise function for me.

15. robtobey

The above plot generated with the following Mathematica statement:$\text{Plot}\left[\text{Piecewise}\left[\left\{\left\{x^2-5,x\leq 3\right\},\{x+2,x>3\}\right\}\right],\{x,-4,10\}\right]$

16. robtobey

For your information, Mathematica can take the derivative of a piecewise function.