aboutsummaryrefslogtreecommitdiffstats
path: root/OLD/math2373/lab5/sum_of_nn.m
diff options
context:
space:
mode:
Diffstat (limited to 'OLD/math2373/lab5/sum_of_nn.m')
-rw-r--r--OLD/math2373/lab5/sum_of_nn.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/OLD/math2373/lab5/sum_of_nn.m b/OLD/math2373/lab5/sum_of_nn.m
new file mode 100644
index 0000000..dd191b7
--- /dev/null
+++ b/OLD/math2373/lab5/sum_of_nn.m
@@ -0,0 +1,4 @@
+y=0;
+for n=1:N
+ y=y+1/(n^n);
+end \ No newline at end of file