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 /149/CH4/EX4.19/ques19.sce | |
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 '149/CH4/EX4.19/ques19.sce')
-rwxr-xr-x | 149/CH4/EX4.19/ques19.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/149/CH4/EX4.19/ques19.sce b/149/CH4/EX4.19/ques19.sce new file mode 100755 index 000000000..87b407982 --- /dev/null +++ b/149/CH4/EX4.19/ques19.sce @@ -0,0 +1,16 @@ +//ques19
+disp('Maclaurins series');
+disp('f(x)=f(0)+xf1(0)+x^2/2!*f2(0)+x^3/3!*f3(0)+......');
+syms x a b
+
+ y=%e^(a*asin(b));
+ n=input('enter the number of expression in seris : ');
+ b=0;
+t=eval(y);
+
+for i=2:n
+ y1=diff(y,'b',i-1);
+ t=t+x^(i-1)*eval(y1)/factorial(i-1);
+end
+disp(t)
+
|