summaryrefslogtreecommitdiff
path: root/1332/CH15/EX15.28
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1332/CH15/EX15.28
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1332/CH15/EX15.28')
-rwxr-xr-x1332/CH15/EX15.28/15_28.pdfbin0 -> 6070 bytes
-rwxr-xr-x1332/CH15/EX15.28/15_28.sce11
2 files changed, 11 insertions, 0 deletions
diff --git a/1332/CH15/EX15.28/15_28.pdf b/1332/CH15/EX15.28/15_28.pdf
new file mode 100755
index 000000000..d0c347095
--- /dev/null
+++ b/1332/CH15/EX15.28/15_28.pdf
Binary files differ
diff --git a/1332/CH15/EX15.28/15_28.sce b/1332/CH15/EX15.28/15_28.sce
new file mode 100755
index 000000000..b5269493f
--- /dev/null
+++ b/1332/CH15/EX15.28/15_28.sce
@@ -0,0 +1,11 @@
+//Example 15.28
+//Differential Equation
+//Page no. 562
+clc;clear;close;
+
+deff('y=f(x,y)','y=2*y^2/(1+x)')
+h=0.1;z(1)=-1;
+for i=1:11
+ printf('\nZ(%g) = %g\n',(i-1)/10,z(i))
+ z(i+1)=z(i)+h*f((i-1)/10,z(i))
+end \ No newline at end of file