diff options
Diffstat (limited to '1332/CH14/EX14.7')
-rwxr-xr-x | 1332/CH14/EX14.7/14_7.pdf | bin | 0 -> 6023 bytes | |||
-rwxr-xr-x | 1332/CH14/EX14.7/14_7.sce | 11 |
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 Binary files differnew file mode 100755 index 000000000..d1d920522 --- /dev/null +++ b/1332/CH14/EX14.7/14_7.pdf 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 |