From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1332/CH13/EX13.1/13_1.sce | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 1332/CH13/EX13.1/13_1.sce (limited to '1332/CH13/EX13.1/13_1.sce') diff --git a/1332/CH13/EX13.1/13_1.sce b/1332/CH13/EX13.1/13_1.sce new file mode 100755 index 000000000..e7e8a0f1f --- /dev/null +++ b/1332/CH13/EX13.1/13_1.sce @@ -0,0 +1,12 @@ +//Example 13.1 +//Differentiation +//Page no. 420 +clc;close;clear; + +deff('y=f(x)','y=x^2+5') +deff('y=f1(x,h)','y=(f(x+h)-f(x))/h') +h=0.01;x=2.4 +d=f1(x,h) +d1=(f1(x+h,h)-f1(x))/h +printf('dy\n -- = %g\n dx',d) +printf('\n\n\n d2y\n --- = %g\n dx2',d1) \ No newline at end of file -- cgit