diff options
author | Matthew Strapp <msattr@gmail.com> | 2019-10-14 10:10:14 -0500 |
---|---|---|
committer | Matthew Strapp <msattr@gmail.com> | 2019-10-14 10:10:14 -0500 |
commit | c944368c607add79fc3ea404629f717b42a834ce (patch) | |
tree | 78ae81ea0fc0d54ab532e8e0e5eaad2cc931c6b9 /math2373/lab5/multseries.m | |
parent | Merge branch 'master' of github.com:RosstheRoss/TestingFun (diff) | |
download | homework-c944368c607add79fc3ea404629f717b42a834ce.tar homework-c944368c607add79fc3ea404629f717b42a834ce.tar.gz homework-c944368c607add79fc3ea404629f717b42a834ce.tar.bz2 homework-c944368c607add79fc3ea404629f717b42a834ce.tar.lz homework-c944368c607add79fc3ea404629f717b42a834ce.tar.xz homework-c944368c607add79fc3ea404629f717b42a834ce.tar.zst homework-c944368c607add79fc3ea404629f717b42a834ce.zip |
fix the oopsies
Diffstat (limited to '')
-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 |