WolframAlpha computational knowledge AI
Plot[Piecewise[{{x^2, x < 0}, {sin(x), 0<x<=4*pi},{1-cos(x),x>4*pi}}], {x, -5, 20}]