How do you find the local max and min for #f(x)=-sinx-cosx#?