MapleArea.mws

Integration and Area

Examples 13 and 12

>    with(plots):

Warning, the name changecoords has been redefined

Example 13 and more

>    Int((2*x-4)/(x^3+2*x^2+4*x+8),x);

Int((2*x-4)/(x^3+2*x^2+4*x+8),x)

>    value(%);

-ln(x+2)+1/2*ln(x^2+4)

>    plot((2*x-4)/(x^3+2*x^2+4*x+8),x=-4..4,y=-10..10,discont=true,thickness=3);

[Maple Plot]

>    plot((2*x-4)/(x^3+2*x^2+4*x+8),x=-1..1,filled=true);

[Maple Plot]

>    -Int((2*x-4)/(x^3+2*x^2+4*x+8),x=-1..1);

-Int((2*x-4)/(x^3+2*x^2+4*x+8),x = -1 .. 1)

>    value(%);

ln(3)

>    evalf(%);

1.098612289

Example 12 and more

>    Int((x+4)/(x^3-3*x^2-4*x+12),x);

Int((x+4)/(x^3-3*x^2-4*x+12),x)

>    value(%);

7/5*ln(x-3)-3/2*ln(x-2)+1/10*ln(x+2)

>    plot((x+4)/(x^3-3*x^2-4*x+12),x=-4..4,y=-10..10,discont=true,thickness=3);

[Maple Plot]

>    plot((x+4)/(x^3-3*x^2-4*x+12),x=-1.4..1.4,filled=true);

[Maple Plot]

>    Int((x+4)/(x^3-3*x^2-4*x+12),x=-1.4..1.4);

Int((x+4)/(x^3-3*x^2-4*x+12),x = -1.4 .. 1.4)

>    value(%);

1.359120412

>    Int((x+4)/(x^3-3*x^2-4*x+12),x=-7/5..7/5);

Int((x+4)/(x^3-3*x^2-4*x+12),x = -7/5 .. 7/5)

>    value(%);

14/5*ln(2)-7/5*ln(11)+8/5*ln(17)-8/5*ln(3)

>