Uh oh! Wolfram|Alpha doesn't run without JavaScript.
Please enable JavaScript. If you don't know how, you can find instructions
here
.
Once you've done that, refresh this page to start using Wolfram|Alpha.
Plot[Piecewise[{{sin(x), x < 0}, {1-cos(x) , 0<x <pi},{cos(x),x>pi}}], {x, -2, 6}]
Natural Language
Math Input
Extended Keyboard
Examples
Upload
Random