summaryrefslogtreecommitdiff
path: root/1332/CH14/EX14.7
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1332/CH14/EX14.7
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1332/CH14/EX14.7')
-rwxr-xr-x1332/CH14/EX14.7/14_7.pdfbin0 -> 6023 bytes
-rwxr-xr-x1332/CH14/EX14.7/14_7.sce11
2 files changed, 11 insertions, 0 deletions
diff --git a/1332/CH14/EX14.7/14_7.pdf b/1332/CH14/EX14.7/14_7.pdf
new file mode 100755
index 000000000..d1d920522
--- /dev/null
+++ b/1332/CH14/EX14.7/14_7.pdf
Binary files differ
diff --git a/1332/CH14/EX14.7/14_7.sce b/1332/CH14/EX14.7/14_7.sce
new file mode 100755
index 000000000..8744c7634
--- /dev/null
+++ b/1332/CH14/EX14.7/14_7.sce
@@ -0,0 +1,11 @@
+//Example 14.7
+//Gaussian Quadrature Formula
+//Page no. 463
+clc;close;clear;
+
+deff('y=f(x)','y=cos(x)*log(x)')
+s=0;
+for i=0:2:2000
+ s=s+integrate('((-1)^(i/2))*(x^i)/factorial(i)*log(x)','x',0,1)
+end
+disp(s,'Till 1000 terms .... I =') \ No newline at end of file