From c944368c607add79fc3ea404629f717b42a834ce Mon Sep 17 00:00:00 2001 From: Matthew Strapp Date: Mon, 14 Oct 2019 10:10:14 -0500 Subject: fix the oopsies --- math2373/lab5/multseries.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'math2373/lab5/multseries.m') diff --git a/math2373/lab5/multseries.m b/math2373/lab5/multseries.m index ccd2533..d4b06d6 100644 --- a/math2373/lab5/multseries.m +++ b/math2373/lab5/multseries.m @@ -1,5 +1,4 @@ y=2; for n=1:N - x=y*((2*n)*(2*n))/((2*n-1)*(2*n+1)); - y=x; + y=y*((2*n)*(2*n))/((2*n-1)*(2*n+1)); end \ No newline at end of file -- cgit v1.2.3