Uploaded by royalcreek01

3D problems

advertisement
Problem 1:
2
2
3
Problem 2:
z=cos(xy).
Problem 3:
Hint:
•
•
•
•
Define r and theta per provided domains
Create a meshgrid of them [R,THETA] = meshgrid(r,theta)
Calculate valies of x and y and z using R and THETA
Create a mesh of the x , y and z
Problem 4:
y
z
Problem 5:
Hint:
•
•
•
•
•
Theta must be converted to radian
Define variables r and theta within provided domain
Create a meshgrid from
theta and r: [th,ra]=meshgrid(theta,r)
Solve the three formulas in terms of the above
meshgrid
With use of
pol2cart command convert the meshgrid to cartesian
system points [X, Y] = pol2cart (X,Y)
• Use the mesh command to plot the stress values against the cartesian meshgrid
mesh (X,Y, sigmax) mesh(X,Y, sigmay) …..
• Use subplot to show the result in a grid
Problem 6:
Download