function L = loss(w, x, y)

a = 2^w(1);
b = 2^w(2);
Y = a*x.^b;
L = sum((y - Y).^2);
