From 3394d567443b8203c4a01c67e158dac6d6226521 Mon Sep 17 00:00:00 2001 From: Matthew Strapp Date: Tue, 8 Oct 2019 13:49:00 -0500 Subject: Lab 5 done --- math2373/lab5/sum_of_nn.m | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 math2373/lab5/sum_of_nn.m (limited to 'math2373/lab5/sum_of_nn.m') diff --git a/math2373/lab5/sum_of_nn.m b/math2373/lab5/sum_of_nn.m new file mode 100644 index 0000000..ea36db5 --- /dev/null +++ b/math2373/lab5/sum_of_nn.m @@ -0,0 +1,4 @@ +y(1)=0; +for n=1:N + y(n+1)=y(n)+1/(n^n); +end \ No newline at end of file -- cgit v1.2.3