summaryrefslogtreecommitdiff
path: root/1332/CH15/EX15.10
diff options
context:
space:
mode:
Diffstat (limited to '1332/CH15/EX15.10')
-rwxr-xr-x1332/CH15/EX15.10/15_10.pdfbin0 -> 6024 bytes
-rwxr-xr-x1332/CH15/EX15.10/15_10.sce14
2 files changed, 14 insertions, 0 deletions
diff --git a/1332/CH15/EX15.10/15_10.pdf b/1332/CH15/EX15.10/15_10.pdf
new file mode 100755
index 000000000..5a1b5a2c4
--- /dev/null
+++ b/1332/CH15/EX15.10/15_10.pdf
Binary files differ
diff --git a/1332/CH15/EX15.10/15_10.sce b/1332/CH15/EX15.10/15_10.sce
new file mode 100755
index 000000000..4065a0704
--- /dev/null
+++ b/1332/CH15/EX15.10/15_10.sce
@@ -0,0 +1,14 @@
+//Example 15.10
+//Heun Method
+//Page no. 517
+clc;clear;close;
+deff('y=f(x,y)','y=y*2/x')
+y=2;
+h=0.25;
+for i=1:4
+ x=1+(i-1)*h
+ x1=x+h
+ ye=y+h*f(x,y)
+ y=y+h*(f(x,y)+f(x1,ye))/2
+ printf('\n y(%g) = %g\n',x1,y)
+end \ No newline at end of file