function [r,g] = omega2(w,lambda)

r = lambda/2 * norm(w)^2;
g = lambda * w;
