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 /243/CH13/EX13.1 | |
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 '243/CH13/EX13.1')
-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 |