cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

How can we plot solid of revolution in Mathcad Prime?

rking-2
1-Visitor

How can we plot solid of revolution in Mathcad Prime?

I finded the answer for the exercise but I don't know how plot a 3D for the solid of revolution of answer.



10 REPLIES 10

You can plot the surface using CreateMesh.

RichardJ
19-Tanzanite
(To:rking-2)

To plot a solid of revolution use the CreateMesh function.

MJ_3945082
4-Participant
(To:RichardJ)

could we use g(u)*cos(v) instead of just r*cos(), and if we can how we can plot it in 3d? in Mathcad prime

LucMeekes
23-Emerald III
(To:MJ_3945082)

Certainly. Just make sure you define the function g() and provide proper ranges for u and v.

 

Success!
Luc

MJ_3945082
4-Participant
(To:LucMeekes)

Thank you Luc Meekes

MJ_3945082
4-Participant
(To:rking-2)

do you mind graphing the above graph using the build in function in the matrix, with g(u)*cos(v) in Mathcad prime?

ttokoro
20-Turquoise
(To:rking-2)

image.pngimage.pngimage.pngimage.png

MJ_3945082
4-Participant
(To:ttokoro)

Thank you ttkoro

Werner_E
25-Diamond I
(To:rking-2)


@rking-2 wrote:

I finded the answer for the exercise but I don't know how plot a 3D for the solid of revolution of answer.


Prime cannot plot solids, just 3D-surfaces.

Here is how I would suggest to do it:

Werner_E_0-1627047816310.png

 

The left picture shows the result out of the box using Primes autoscaling, in the right pic I fiddled around changing the axis limits and spacing to simulate equal scales on all axis and I also added "labels". You'll have to notice that in Prime what look like the axis unfortunately are NOT the axis of the coordinate system. There seems to be no way to force those "axis" to cross at the origin - this option is only available for 2D-plots.

You may simulate a solid body by modelling and adding the two circular disks at the ends.

Werner_E_1-1627048510602.png

 

But if only the parabola rotates around the x-axis, no solid is created anyway.

Prime 6 sheet attached

MJ_3945082
4-Participant
(To:Werner_E)

Thank you so much Werner_E, i will work on it today with different two regions and see what happens

Announcements

Top Tags