How do you differentiate #y=x^cosx#?

Redirected from "If an electode reaction has dssolved oxygen as a reactant, is the electrode an anode or a cathode?"