diff options
Diffstat (limited to '243/CH13/EX13.1/13_01.sce')
-rwxr-xr-x | 243/CH13/EX13.1/13_01.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/243/CH13/EX13.1/13_01.sce b/243/CH13/EX13.1/13_01.sce new file mode 100755 index 000000000..c83affe58 --- /dev/null +++ b/243/CH13/EX13.1/13_01.sce @@ -0,0 +1,11 @@ +//Example No. 13_01
+//Taylor method
+//Pg No. 414
+clear ; close ; clc ;
+
+deff('F = f(x,y)','F = x^2 + y^2')
+deff('D2Y = d2y(x,y)','D2Y = 2*x + 2*y*f(x,y)');
+deff('D3Y = d3y(x,y)','D3Y = 2 + 2*y*d2y(x,y) + 2*f(x,y)^2');
+deff('Y = y(x)','Y = 1 + f(0,1)*x + d2y(0,1)*x^2/2 + d3y(0,1)*x^3/6');
+disp(y(0.25),'y(0.25) = ')
+disp(y(0.5),'y(0.5) = ')
\ No newline at end of file |