y=cosx and y=sec x