plot y=cosx