diff options
Diffstat (limited to '75/CH4/EX4.8/ex_7.sce')
-rwxr-xr-x | 75/CH4/EX4.8/ex_7.sce | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/75/CH4/EX4.8/ex_7.sce b/75/CH4/EX4.8/ex_7.sce index 01c0b0149..8ef400009 100755 --- a/75/CH4/EX4.8/ex_7.sce +++ b/75/CH4/EX4.8/ex_7.sce @@ -1,4 +1,4 @@ - // PG (220) +// PG (220) deff('[y]=f(x)','y=exp(x)') @@ -22,7 +22,9 @@ C4=2*(integrate('exp(cos(x))*cos(4*x)','x',0,3.14))/(3.14) C5=2*(integrate('exp(cos(x))*cos(5*x)','x',0,3.14))/(3.14) // we obtain +x=0:.01:%pi; // defining the range of x + c1=1.266+1.130*x; -c3=0.994571+0.997308*x+0.542991*x^2+0.177347*x^3; +c3=0.994571+0.997308*x+0.542991*x.^2+0.177347*x.^3; norm(exp(x)-c1,'inf') norm(exp(x)-c3,'inf')
\ No newline at end of file |