function pi6 = my_pi_up(n) 

pi6 = 0;

for i = 1:n,
    pi6 = pi6 + 1/(single(i)^2);
end

end
