diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1673/CH9/EX9.4 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1673/CH9/EX9.4')
-rwxr-xr-x | 1673/CH9/EX9.4/9_4.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/1673/CH9/EX9.4/9_4.sce b/1673/CH9/EX9.4/9_4.sce new file mode 100755 index 000000000..989e9cde8 --- /dev/null +++ b/1673/CH9/EX9.4/9_4.sce @@ -0,0 +1,13 @@ +//poisson equation
+//exaample 9.4
+//page 354
+clc;clear;close;
+u2=0;u4=0;
+printf(' u1\t u2\t u3\t u4\t\n\n');
+for i=1:6
+ u1=u2/2+30;
+ u2=(u1+u4+150)/4;
+ u4=u2/2+45;
+ printf(' %0.2f\t %0.2f\t %0.2f\t %0.2f\n',u1,u2,u2,u4);
+end
+printf(' from last two iterates we conclude u1=67 u2=75 u3=75 u4=83\n')
\ No newline at end of file |