\( \DeclareMathOperator{\abs}{abs} \newcommand{\ensuremath}[1]{\mbox{$#1$}} \)
(%i2) |
f(
x)
:
=
2
*
x
^
2
-
x
^
3
$
wxdraw2d( filled_func = 0, fill_color = grey, explicit( f( x), x, 0, 2), filled_func =false, color = blue, line_width = 3, explicit( f( x), x, 0, 2), xaxis =true) ; |
(%i4) |
define(
F(
x),
integrate(
2
*
%pi
*
x
*
f(
x),
x))
;
print( "Volumen=", F( 2) - F( 0)) $ |
Created with wxMaxima.
Nos piden el volumen al girar la zona gris alrededor del eje y: