function f = f3(v, u)
x1 = v(1);
x2 = v(2);
x3 = v(3);
x4 = v(4);
x5 = v(5);
p1 = 1;
p2 = 2;
p3 = 3;
p4 = 4;
p5 = 5;
f = (x1 - p1)^2 + (x2 - p2)^2 + (x3 - p3)^2 + (x4 - p4)^2 + (x5 - p5)^2;