Professional Documents
Culture Documents
2 2
∫ √ x 2 + z 2 dy =4 √ x 2+ z 2−( x 2+ z 2 ) √ x2 + z 2
2 2
x +z
2π 2
∫∫ r ( 4 √ r 2−r 2 √ r ¿)dr dθ ¿
0 0
2π 9
∫ ( 13 4 r 3− 29 ¿ r 2 ) 20 dθ ¿
0
|
¿ 35.4268
Question 42: Evaluate the triple integral with cylindrical coordinates I =∭ 2 xdV
Ω
From the question we can obtain the region Ω is bounded by z=x and z=0 and the
surrounding face 0 ≤ y ≤ 2 ; 0 ≤ x ≤ √ 4− y 2.
{x=rcosφ
We can obtain the region D= { ( x , y ) : 0≤ y ≤2 ; 0 ≤ x ≤ √ 4− y 2 } with y=rsinφ |J |=r from here
{
we can conclude D = ( r , φ ) :0 ≤r ≤ 2 ,0 ≤ φ ≤
π
2 }
[ ] [ ]|
π /2 2 π /2 4 φ/ 2
2r 2 dφ = 8 cos 2 φdφ
I= ∫ ∫ 2 r cos φrdr dφ= ∫ cos2 φ . ∫
2 2
0 0 0 4 0 0
[ ]
φ/ 2
sin ( 2 φ) φ /2
= ∫ 4 ( 1+ cos ( 2 φ ) ) dφ = 4. φ+ = 2π
0 2 0
Question 43: Evaluate the triple integral with cylindrical coordinates I =∭ zdV
Ω
where Ω is the solid that lies within the cylinder x2 + y2 = 1; above the paraboloid z
= x2 + y2 and below the paraboloid z = 2x2 + y2. Sketch the given solid.
We can obtain the region D= { ( x , y ) :0 ≤ y } and x 2+ y 2=1 with y=rsinφ from here we can {x=rcosφ
conclude D = {00≤≤φ≤r ≤ 1π .
π 1 π 1
y r sin φ
I = ∬ 2 2 dA = ∫ ∫ 2 rdrdφ = ∫ sin φ dφ∫ dr = 2
D x +y 0 0 r 0 0
{
0 ≤ r ≤ 2 cosφ
{
x=rcosφ 2 2 2 2
Let: y=rsinφ . Using cylindrical coordinates: x + y =r →r =2r cosφ → 0≤ φ ≤
π
2
.
[ ]|
π /2 2 cosφ 1 π /2 2 cosφ 2 π/2 3 π /2
z 1 r 2 cosφ 1 8
I =∫ ∫ ∫ ( z √ r 2 ) rdzdrdφ= ∫ ∫ (r ¿ ¿2
2
)drdφ= ∫
2 0 3 0
dφ= ∫ 8 (cosφ) dφ= ¿
6 0
3
9
0 0 0 0 0
Question 46: Evaluate the triple integral with spherical coordinates I =∭ (x + z )dV
Ω
{
x=P cos α sin θ
Let denote: y =P sinα sin θ
z=P cos θ
[ ]
π 2π 1 π 2π 2 2 π 2π
P P 1
I =∫ ∫ ∫ P cos α sin θ+ P cos θ dP dα dθ=∫ ∫ cos α sinθ+ cos θ P=1 dα dθ= ∫ ∫ cos α sin θ+¿ cos θ dx d
0 0 0 0 0 2 2 P=0 20 0
Question 47: Evaluate the triple integral with spherical coordinates I =∭ (x + y )dV
2 2
{
π
0 ≤θ ≤ π /2 2π 1
2
We have Ω is bounded by . So we can evaluate I= ∫ dθ ∫ dφ∫ ¿ ¿
0 ≤ φ ≤2 π 0 0 0
0≤ρ≤1
{x=rcosφ
Let: y=rsinφ
π /2 1 √ 4−r 2
I =∫ ∫ ∫ 2
(r ¿ ¿2+ z )dz . rdrdφ=0.507 ¿
0 0 √1−r2
{
π
0 ≤θ ≤
4
We have Ω is bounded by
0 ≤ φ ≤2 π
0≤ρ≤2
2π π/4 2 2π π/4 2
1 2
I = ∫ ∫∫ 2
ρ sin θ dρdθdφ=∫ dφ ∫ sinθdθ ∫ dρ=4 π −2 √ 2 π
0 0 0 ρ 0 0 0
Question 50: Evaluate the triple integral with spherical coordinates where
Ω={(x,y,z)∈R_3: x^2+y^2+z^2≤1,z≥0}. Sketch the given solid.
{
x=ρ sin θ cos φ
Let: y=sin θ sin φ
z= ρcos θ
{
0≤θ≤π
We have Ω is bounded by 0 ≤ φ ≤2 π
0≤ρ≤1
π 2π 1 π
I =∫ ∫ ∫ (e ¿ ¿ ρ ρ sinθ)dρdφdθ=∫ sinθ ¿
2
0 0 0 0
Question 51: Use spherical coordinates to find the volume of the solid that lies above
the cone z=√ x 2+ y 2 and below the sphere x2 + y2 + z2 = z. Sketch the given solid.
{
0 ≤ ρ ≤cos θ
{
x=ρ sin θ cos φ
π
Let: y=sin θ sin φ → 0 ≤ θ≤
4
z= ρcos θ
0≤φ≤2π
2 π π /4 cos φ
I =∫ ∫ ∫ 1 dρdθdφ=π √ 2
0 0 0
Ω
Sketch the given solid
%Calculation
syms x y z
I=int(int(int(sqrt(x^2+z^2),y,x^2+y^2,4),x),z)
hold on
phi=linspace(0,2*pi,30);
r=linspace(0,2,30);
[r phi] = meshgrid(r,phi);
x=r.*cos(phi); z=r.*sin(phi);
y = 4+0.*x+0.*z; y1 = 0+0.*x+0.*z
surf(x,y,z,'FaceColor','b','FaceAlpha',0.3);
surf(x,y1,z,'FaceColor','b','FaceAlpha',0.3);
Question 42: Evaluate the triple integral with cylindrical coordinates I =∭ 2 xdV
Ω
%Calculation
syms x y z
I=int(2*x,z,0,x)
I = 2*x^2
fun = @(x,y) 2.*x.^2;
polarfun = @(phi,r) fun(r.*cos(phi),r.*sin(phi)).*r;
I = integral2(polarfun,0,pi/2,0,2)
Calculation=double(I)
fprintf('The result is %6.2f',Calculation)
%Sketch the figure
clc; close all; clear all; %clears command window
x=-5:0.05:5;
y=-5:0.05:5;
z=-5:0.05:5;
[X,Y,Z] = meshgrid(x,y,z);
Omega = (Y>=0) & (Y<=2) & (X>=0) & (X <= sqrt(4 - Y.^2)) & (Z==0);
scatter3(X(Omega),Y(Omega),Z(Omega),'filled');
xlabel('X'); ylabel('Y'); zlabel('Z');
Question 43: Evaluate the triple integral with cylindrical coordinates I =∭ zdV
Ω
where Ω is the solid that lies within the cylinder x2 + y2 = 1; above the paraboloid z
= x2 + y2 and below the paraboloid z = 2x2 + y2. Sketch the given solid.
%Calculation
syms x y z
I=int(z,z,x^2+y^2,2*x^2+y^2)
I = (3*x^4)/2 + x^2*y^2
fun = @(x,y) (3.*x.^4)./2+x.^2.*y.^2 ;
polarfun = @(phi,r) fun(r.*cos(phi),r.*sin(phi)).*r;
I = integral2(polarfun,0,2*pi,0,1)
Calculation=double(I)
fprintf('The result is %6.2f',Calculation)
%Sketch the figure
syms z theta
x = cos(theta), y = sin(theta)
figure
fsurf(x, y, z, [0 2*pi 0 4], 'MeshDensity', 12)
axis equal; alpha 0.2
xlabel('x'); ylabel('y'); zlabel('z')
hold on
phi = linspace (0, 2*pi, 30);
r = linspace(0, 2, 30);
[r, p] = meshgrid(r, phi);
x = r.*cos(p);
y = r.*sin(p);
z1 = x.^2 + y.^2;
surf(x, y, z1, 'FaceColor', 'g', 'FaceAlpha', 0.3);
hold on
z2 = 2.*x.^2 + y.^2;
surf(x, y, z2, 'FaceColor', 'r', 'FaceAlpha', 0.3);
%Calculation
syms x y z
I=int(z*sqrt(x^2+y^2),z,0,1)
I =(x^2 + y^2)^(1/2)/2
fun = @(x,y) (x.^2 + y.^2).^(1./2)./2 ;
polarfun = @(phi,r) fun(r.*cos(phi),r.*sin(phi)).*r;
rmax = @(phi) 2.*cos(phi)
I = integral2(polarfun,0,pi/2,0,rmax)
Result=double(I)
%Sketch the figure
clc;
clear
close all;
syms x
y = sqrt(2*x-x^2);
fsurf(y,[0 1])
Question 46: Evaluate the triple integral with spherical coordinates I =∭ (x + z )dV
Ω
% Calculation
fun = @(x, y, z) x + z + 0 .* y;
sphericalfun = @(theta, phi, rho) fun(rho .* sin(phi) .* cos(theta), rho .*
sin(phi) .* sin(theta), rho .* cos(phi)) .* rho.^2 .* sin(phi);
I = integral3(sphericalfun, 0, pi, 0, 2 * pi, 0, 1);
Result = double(I);
disp(['The result of the triple integral is: ', num2str(Result)]);
% Sketch the solid
syms phi theta
x = sin(phi) * cos(theta);
y = sin(phi) * sin(theta);
z = cos(phi);
figure;
fsurf(x, y, z, [0 pi 0 2 * pi], 'MeshDensity', 20);
hold on;
theta_vals = linspace(0, 2 * pi, 100);
x_circle = cos(theta_vals);
y_circle = sin(theta_vals);
plot3(x_circle, y_circle, zeros(size(theta_vals)), 'r', 'LineWidth', 2);
phi_vals = linspace(0, pi, 100);
x_arc = zeros(size(phi_vals));
y_arc = sqrt(1) * cos(phi_vals);
z_arc = sqrt(1) * sin(phi_vals);
plot3(x_arc, y_arc, z_arc, 'm', 'LineWidth', 2);
axis equal;
xlabel('x');
ylabel('y');
zlabel('z');
title('Sketch of the Solid');
legend('Surface', 'Circle in xy-plane', 'Arc on xz-plane', 'Location',
'Best');
Question 47: Evaluate the triple integral with spherical coordinates I =∭ (x + y )dV
2 2
figure;
fsurf(x, y, z, [0 pi/2 0 2 * pi], 'MeshDensity', 20);
hold on;
phi_vals = linspace(0, pi/2, 100);
x_arc = zeros(size(phi_vals));
y_arc = zeros(size(phi_vals));
z_arc = cos(phi_vals);
plot3(x_arc, y_arc, z_arc, 'r', 'LineWidth', 2);
axis equal;
xlabel('x');
ylabel('y');
zlabel('z');
title('Sketch of the Solid');
legend('Surface', 'Arc on xz-plane', 'Location', 'Best');
Question 50: Evaluate the triple integral with spherical coordinates where
Ω={( x , y , z ) ∈ R3 : x 2 + y 2 + z 2 ≤ 1 , z ≥ 0 }. Sketch the given solid.
%Calculation
syms x y z theta phi rho;
fun = @(x,y,z) exp(sqrt(x.^2+y.^2+z.^2));
sphericalfun = @(theta,phi,rho)
fun(rho.*sin(theta).*cos(phi),rho.*sin(theta).*sin(phi),rho.*cos(theta)).*rho.
^2.*sin(theta);
I = int(int(int(sphericalfun,rho,0,1),phi,0,2*pi),theta,0,pi)
Result=double(I)
%Sketch the solid
syms phi theta
x = sin(phi)*cos(theta), y = sin(phi)*sin(theta), z = cos(phi)
figure
fsurf(x, y, z, [0 pi/2 0 2*pi], 'MeshDensity', 20);
Question 51: Use spherical coordinates to find the volume of the solid that lies above
the cone z=√ x 2+ y 2 and below the sphere x2 + y2 + z2 = z. Sketch the given solid.
%Calculation
syms x y z theta phi rho;
fun = @(x,y,z) 0.*x+0*y+0.*z+1;
sphericalfun = @(theta,phi,rho)
fun(rho.*sin(theta).*cos(phi),rho.*sin(theta).*sin(phi),rho.*cos(theta)).*rho.
^2.*sin(theta);
I = int(int(int(sphericalfun,rho,0,cos(theta)),phi,0,2*pi),theta,0,pi/4)
Result=double(I)
%Sketch the figure
syms phi theta
x = 0.5*sin(phi)*cos(theta), y = 0.5*sin(phi)*sin(theta), z = 1/2 +
0.5*cos(phi)
figure
fsurf(x, y, z, [0 pi/2 0 2*pi], 'MeshDensity', 20); hold on
x = 0*cos(theta), y = 0*sin(theta)
fplot3(x, y, sym(0), [0 2*pi], 'r')
s1 = sym(sqrt(1/4)), y = s1*cos(theta), z = 1/2 + s1*sin(theta)
fplot3(sym(0), y, z, [0 2*pi], 'm')
axis equal; alpha 0.2
hold on
fsurf(r*cos(theta), r*sin(theta), r, [0 0.5 0 2*pi], 'MeshDensity', 16)
axis equal;alpha 0.2
xlabel('x'); ylabel('y'); zlabel('z')