diff options
Diffstat (limited to 'OLD/math2373/lab6/eulerN.m')
-rw-r--r-- | OLD/math2373/lab6/eulerN.m | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/OLD/math2373/lab6/eulerN.m b/OLD/math2373/lab6/eulerN.m deleted file mode 100644 index 13a7cbc..0000000 --- a/OLD/math2373/lab6/eulerN.m +++ /dev/null @@ -1,5 +0,0 @@ -h=2/N; t(1)=0; y(1)=1; -for n=1:N - t(n+1)=t(n)+h; - y(n+1)=y(n)+(-0.5*y(n)-t(n)+2)*h; -end
\ No newline at end of file |