diff options
Diffstat (limited to 'math2373/lab5/multseries.m')
-rw-r--r-- | math2373/lab5/multseries.m | 3 |
1 files changed, 1 insertions, 2 deletions
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 |