aboutsummaryrefslogtreecommitdiffstats
path: root/math2373
diff options
context:
space:
mode:
authorMatthew Strapp <msattr@gmail.com>2019-10-08 13:49:00 -0500
committerMatthew Strapp <msattr@gmail.com>2019-10-08 13:49:00 -0500
commit3394d567443b8203c4a01c67e158dac6d6226521 (patch)
treea013c721118765826237df38e09566a6a8d9e2bb /math2373
parentRename Lab file (diff)
downloadhomework-3394d567443b8203c4a01c67e158dac6d6226521.tar
homework-3394d567443b8203c4a01c67e158dac6d6226521.tar.gz
homework-3394d567443b8203c4a01c67e158dac6d6226521.tar.bz2
homework-3394d567443b8203c4a01c67e158dac6d6226521.tar.lz
homework-3394d567443b8203c4a01c67e158dac6d6226521.tar.xz
homework-3394d567443b8203c4a01c67e158dac6d6226521.tar.zst
homework-3394d567443b8203c4a01c67e158dac6d6226521.zip
Lab 5 done
Diffstat (limited to 'math2373')
-rw-r--r--math2373/lab5/lab4.txt0
-rw-r--r--math2373/lab5/multseries.m5
-rw-r--r--math2373/lab5/sum_of_fourths.m4
-rw-r--r--math2373/lab5/sum_of_nn.m4
-rw-r--r--math2373/lab5/test.m1
5 files changed, 14 insertions, 0 deletions
diff --git a/math2373/lab5/lab4.txt b/math2373/lab5/lab4.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/math2373/lab5/lab4.txt
diff --git a/math2373/lab5/multseries.m b/math2373/lab5/multseries.m
new file mode 100644
index 0000000..ccd2533
--- /dev/null
+++ b/math2373/lab5/multseries.m
@@ -0,0 +1,5 @@
+y=2;
+for n=1:N
+ x=y*((2*n)*(2*n))/((2*n-1)*(2*n+1));
+ y=x;
+end \ No newline at end of file
diff --git a/math2373/lab5/sum_of_fourths.m b/math2373/lab5/sum_of_fourths.m
new file mode 100644
index 0000000..80c535f
--- /dev/null
+++ b/math2373/lab5/sum_of_fourths.m
@@ -0,0 +1,4 @@
+y(1)=0;
+for n=1:N
+ y(n+1)=y(n)+n^4;
+end \ No newline at end of file
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
diff --git a/math2373/lab5/test.m b/math2373/lab5/test.m
new file mode 100644
index 0000000..ab806ce
--- /dev/null
+++ b/math2373/lab5/test.m
@@ -0,0 +1 @@
+y(1)=0; \ No newline at end of file