diff options
| author | RossTheRoss <msattr@gmail.com> | 2020-02-09 08:46:52 -0600 |
|---|---|---|
| committer | RossTheRoss <msattr@gmail.com> | 2020-02-09 08:46:52 -0600 |
| commit | bd1d350c376b45e334697851e29b2f79fee0c956 (patch) | |
| tree | eb242032a64442caef7a35434400eb0818911e9a /math2373/lab5 | |
| parent | Do micro prelab (diff) | |
| parent | Rename file (diff) | |
| download | homework-bd1d350c376b45e334697851e29b2f79fee0c956.tar homework-bd1d350c376b45e334697851e29b2f79fee0c956.tar.gz homework-bd1d350c376b45e334697851e29b2f79fee0c956.tar.bz2 homework-bd1d350c376b45e334697851e29b2f79fee0c956.tar.lz homework-bd1d350c376b45e334697851e29b2f79fee0c956.tar.xz homework-bd1d350c376b45e334697851e29b2f79fee0c956.tar.zst homework-bd1d350c376b45e334697851e29b2f79fee0c956.zip | |
Merge branch 'master' of github.com:RosstheRoss/TestingFun
Diffstat (limited to 'math2373/lab5')
| -rw-r--r-- | math2373/lab5/lab4.txt | 59 | ||||
| -rw-r--r-- | math2373/lab5/multseries.m | 4 | ||||
| -rw-r--r-- | math2373/lab5/sum_of_fourths.m | 4 | ||||
| -rw-r--r-- | math2373/lab5/sum_of_nn.m | 4 |
4 files changed, 0 insertions, 71 deletions
diff --git a/math2373/lab5/lab4.txt b/math2373/lab5/lab4.txt deleted file mode 100644 index b45f0f3..0000000 --- a/math2373/lab5/lab4.txt +++ /dev/null @@ -1,59 +0,0 @@ -N=10; sum_of_fourths; y - -y = - - Columns 1 through 5 - - 0 1 17 98 354 - - Columns 6 through 10 - - 979 2275 4676 8772 15333 - - Column 11 - - 25333 - -N=10; sum_of_nn; y - -y = - - 1.2913 - -N=10; sum_of_nn; y - -y = - - 1.2913 - -N=10; multseries; y - -y = - - 3.0677 - -N=100; multseries; y - -y = - - 3.1338 - -N=1000; multseries; y - -y = - - 3.1408 - -N=10000; multseries; y - -y = - - 3.1415 - -N=100000; multseries; y - -y = - - 3.1416 - -diary off diff --git a/math2373/lab5/multseries.m b/math2373/lab5/multseries.m deleted file mode 100644 index d4b06d6..0000000 --- a/math2373/lab5/multseries.m +++ /dev/null @@ -1,4 +0,0 @@ -y=2; -for n=1:N - y=y*((2*n)*(2*n))/((2*n-1)*(2*n+1)); -end
\ No newline at end of file diff --git a/math2373/lab5/sum_of_fourths.m b/math2373/lab5/sum_of_fourths.m deleted file mode 100644 index 80c535f..0000000 --- a/math2373/lab5/sum_of_fourths.m +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index dd191b7..0000000 --- a/math2373/lab5/sum_of_nn.m +++ /dev/null @@ -1,4 +0,0 @@ -y=0; -for n=1:N - y=y+1/(n^n); -end
\ No newline at end of file |
