Plot[ Cos[Pi x], {x,0,1}]