aboutsummaryrefslogtreecommitdiffstats
path: root/math2373/lab5/sum_of_nn.m
blob: dd191b7dc192c27b8560f23ac3c9287c4190dcde (plain) (blame)
1
2
3
4
y=0;
for n=1:N
    y=y+1/(n^n);
end