aboutsummaryrefslogtreecommitdiffstats
path: root/math2373/lab5/multseries.m
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--math2373/lab5/multseries.m5
1 files changed, 5 insertions, 0 deletions
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