1040ForShowA27.mws
Thu Oct 27 10:42:41 MDT 2005
| > | restart: |
Page 98 of our Text -- Integration
Antiderivatives:
| > | utah := Int( cos(2*x), x); |
| > | value(%); value(utah); |
Maple doesn't do "+ C"
| > | wow := Int( exp(-x^2), x); |
| > | value(wow); |
| > | wow := Int( exp( sec(-x^2) ), x); |
| > | value(wow); Maple says, "I dunno." |
Definite integrals
| > | rex := Int( tan(x), x=0..Pi/4); |
| > | value(%); |
| > | evalf(%); |
| > | rex := int( tan(x), x=0..Pi/2); |
| > | f := x -> exp(-x^2); |
We now calculate the area under the graph of f:
| > | XRG := -2..3: plot(f, XRG); |
| > | Int( f(x), x=XRG); value(%); evalf(%); |
| > | Int( f(x), x=0..5280); value(%); evalf(%); |
| > | Int( f(x), x=0..infinity); value(%); evalf(%); |
Section 7.1 in the MATH-171 Text
Section 6.1 in the Calculus Text: the area between two curves. 6.1: 36
Find the area of the region boxed in by f and g, where
| > | f := x -> 2-x^2; |
| > | g := exp; |
| > | XRG := -2..2: YRG := 0..2.1: |
| > | plot([f,g], XRG, YRG, colour=[black, red]); |
| > | A := fsolve( f(x)=g(x), x=-2..0); |
| > | B := fsolve( f(x)=g(x), x=0..1); |
| > | Area := Int( f(x) - g(x), x=A..B); |
| > | value(%); |
| > |
| > |