\( \DeclareMathOperator{\abs}{abs} \newcommand{\ensuremath}[1]{\mbox{$#1$}} \)
Ejercicio
(%i2) |
f
(
x
)
:
=
x
·
sin
(
x
^
2
)
$
wxplot2d ( f ( x ) , [ x , 0 , sqrt ( %pi ) ] ) ; |
\[\operatorname{ }\]
\[\operatorname{ }\]
(%i3) | define ( g ( x ) , sqrt ( 1 + diff ( f ( x ) , x ) ^ 2 ) ) ; |
\[\operatorname{ }\operatorname{g}(x)\operatorname{:=}\sqrt{{{\left( \sin{\left( {{x}^{2}}\right) }+2 {{x}^{2}} \cos{\left( {{x}^{2}}\right) }\right) }^{2}}+1}\]
(%i7) |
h
:
sqrt
(
%pi
)
/
3
$
p : g ( makelist ( 0 + i · h , i , 0 , 3 ) ) $ p : [ p [ 1 ] , 3 · p [ 2 ] , 3 · p [ 3 ] , p [ 4 ] ] $ float ( apply ( "+" , ( 3 · h / 8 ) · p ) ) ; |
\[\operatorname{ }3.751789328304032\]
(%i8) |
/* el método de integración de maxima nos da */
quad_qags ( g ( x ) , x , 0 , sqrt ( %pi ) ) ; |
\[\operatorname{ }\left[ 3.424507695450965\operatorname{,}1.255616987359656 {{10}^{-9}}\operatorname{,}147\operatorname{,}0\right] \]
Created with wxMaxima.