Professional Documents
Culture Documents
ASIGNATURA:
Análisis Matemático III
PROFESOR:
TEMA:
Integrales en Matlab.
ALUMNO:
CICLO:
Cuarto.
A. Crear 5 sólidos y calcular su volumen
Solución
Graficamos con ayuda del matlab, el procedimiento fue el siguiente:
syms x y
ezsurf(x^2+y^2-16)
hold on
x=-4:0.1:4;
y=-4:0.1:4;
[x,y]=meshgrid(x,y);
z=sqrt(16-x.^2);
surf(x,y,z)
z=-sqrt(16-x.^2);
mesh(x,y,z)
4 √16−𝑥 2
𝑉 = 8 ∬ 𝑓(𝑥, 𝑦)𝑑𝐴 = 8 ∫ ∫ √16 − 𝑥 2 𝑑𝑦𝑑𝑥
0 0
I1= int(sqrt(16-x^2),0,sqrt(16-x^2))
I1 = 8*asin((16 - x^2)^(1/2)/4) + (x*(16 - x^2)^(1/2))/2
I2= int(I1,0,4)
I2 = 128/3
I=8*I2
I = 1024/3
Por lo tanto:
4 √16−𝑥 2
1024 3
𝑉 = 8∫ ∫ √16 − 𝑥 2 𝑑𝑦𝑑𝑥 = 𝑢
0 0 3
b. Hallar el volumen del solido limitado por las superficies 𝒚 = √𝒙, 𝒚 = 𝟐√𝒙 , 𝒙 + 𝒛 =
𝟔, 𝒛 = 𝟐
Solución
syms x y
ezsurf(y-sqrt(x))
hold on
ezsurf(y-2*sqrt(x))
ezsurf(6-x)
x=0:0.1:2;
y=0:0.1:2;
[x,y]=mesgrid(x,y);
z=2.;
mesh(x,y,z)
El volumen es:
4 2√𝑥
𝑉 = ∬ 𝑓(𝑥, 𝑦)𝑑𝐴 = ∫ ∫ (4 − 𝑥) 𝑑𝑦𝑑𝑥
0 √𝑥
I1= int((4-x),sqrt(x),2*sqrt(x))
I1 = 4*x^(1/2) - (3*x)/2
I= int(I1,0,4)
I = 128/15
Por lo tanto:
4 2√𝑥
128 3
𝑉=∫ ∫ (4 − 𝑥) 𝑑𝑦𝑑𝑥 = 𝑢
0 √𝑥 15
c. Hallar el volumen del solido determinado por las superficies 𝐲 = 𝟎, 𝐲 = 𝟒, 𝐱 = 𝟎, 𝐱 =
𝐲, 𝐳 = √𝒚, 𝒛 = 𝟐√𝒚
Solución
syms x y
ezsurf(sqrt(y));
hold on
ezsurf(2*sqrt(y));
ezsurf(x-y);
x = [0 0 0 0];
y = [0 4 4 0];
z = [0 0 4 4];
fill3(x, y, z, rand(1,3))
(4,4)
D
El volumen es:
4 4
𝑉 = ∬ 𝑓(𝑥, 𝑦)𝑑𝐴 = ∫ ∫ (√𝑦 𝑑𝑦𝑑𝑥
0 𝑥
I1= int((4-x),sqrt(x),2*sqrt(x))
I1 = 4*x^(1/2) - (3*x)/2
I= int(I1,0,4)
I = 64/5
Por lo tanto:
4 4
64 3
𝑉 = ∫ ∫ (√𝑦 𝑑𝑦𝑑𝑥 = 𝑢
0 𝑥 5
𝒙𝟐 + 𝒚𝟐 = 𝟐𝒂𝒙 ; 𝒙𝟐 + 𝒚𝟐 = 𝒛𝟐 .
[x,y]=meshgrid(0:.1:10,0:.1:10);
z1=sqrt(2.*34.*x-x.^2);
plot3(x,y,z1,'b')
hold on
z2=sqrt(x.^2+y.^2);
plot3(x,z2,y,'y')
xlabel('x');
ylabel('y');
zlabel('z');
Calculamos la integral del volumen generado por las superficies:
>> syms y z
>> I=int(int(sqrt(34.^2-y.^2)+34-sqrt(z.^2-y.^2),y,0,z),z,0,34)
>>ans =
I= (19652*pi)/3 + 19652/3
ans =
2.7130e+004
>> 2.7130e+004
ans =
27130
Hallar el volumen limitado por: x 2 + y 2 + z 2 = 4a2 ; x 2 + y 2 − 2ay = 0 .
[x,y]=meshgrid(-200:1.0:200);
z1=sqrt(4*39^2-x.^2-y.^2);
z2=-sqrt(4*39^2-x.^2-y.^2);
plot3(x,y,z1,x,y,z2)
grid on
hold on
r=(0:0.1:2*pi)'; %cilindro
t=-pi:0.1:2*pi;
X=cos(r)*sin(t);
Y=sin(r)*sin(t);
Z=ones(1,size(r))'*t;
xlabel('x');
ylabel('y');
zlabel('z');
Calculamos la integral del volumen generado por las superficies:
>> syms y z
>> I=int(int(sqrt(4.*a.^2-y.^2-z.^2),y,0,2.*a),z,0.4,5.6)...
+int(int(sqrt(4.*a.^2-y.^2-z.^2),y,0,sqrt(4.*a.^2-z.^2)),z,5.6,6.4)
>> ans =
I= 5623.45589