Plane, sphere and cone

Plane, sphere and cone - Messages

#1 Posted: 2/20/2024 2:02:30 PM
Valery Ochkov

Valery Ochkov

55 likes in 633 posts.

Group: User

I want to solve three equations with three unknowns and display the solution on a 3D graph with two points - the roots of the equation.
Help please!
2-18a.png
#2 Posted: 2/20/2024 8:01:51 PM
Valery Ochkov

Valery Ochkov

55 likes in 633 posts.

Group: User


Mathcad 15
2-18a.png
#3 Posted: 2/20/2024 11:02:25 PM
overlord

overlord

554 likes in 1333 posts.

Group: Moderator

Findroot() or roots() could solve three unknown systems.
About plotting, I simply wrote equations according to solving of z.

Regards

3Dplot_OchkovVF.sm (4 KiB) downloaded 65 time(s).

2024-02-20_18-02.png
2 users liked this post
Valery Ochkov 2/20/2024 11:05:00 PM, Davide Carpi 2/21/2024 5:30:00 PM
#4 Posted: 2/21/2024 6:54:08 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

3Dplot_OchkovVF_Kr.png
3Dplot_OchkovVF_Kr.sm (329 KiB) downloaded 70 time(s).
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 users liked this post
Davide Carpi 2/21/2024 5:29:00 PM
#5 Posted: 2/22/2024 2:40:57 AM
overlord

overlord

554 likes in 1333 posts.

Group: Moderator

Is there a way to use CreateMesh() for single line xyz equations?
x^2+y^2+z^2-2^2 creates a sphere in 3dplot, a finer mesh can look better.
But I don't know how to convert an equation to CreateMesh().
I am asking if it is doable of course, if they are two different thing it is ok.
A simple, short but inclusive tutorial would be beneficial.
#6 Posted: 2/22/2024 6:38:16 PM
StvMath

StvMath

35 likes in 56 posts.

Group: User

Wrote

Is there a way to use CreateMesh() for single line xyz equations?
x^2+y^2+z^2-2^2 creates a sphere in 3dplot, a finer mesh can look better.
But I don't know how to convert an equation to CreateMesh().
I am asking if it is doable of course, if they are two different thing it is ok.
A simple, short but inclusive tutorial would be beneficial.




Like in the attached? (Though I confess it was a "suck it and see" approach as I don't fully understand the 3D graphing!)

TriangleSpherePlaneCreateMesh.sm (6 KiB) downloaded 66 time(s).


TriangleSpherePlane.png

#7 Posted: 2/22/2024 11:36:19 PM
overlord

overlord

554 likes in 1333 posts.

Group: Moderator

Wrote

Like in the attached?


Not really, my question is different.
You can make any object with CreateMesh().
You can make sphere, plane, cone, cube, etc with mesh.
I ask for a method converting a xyz function to CreateMesh() matrix.
If there is any of course.

Regards
#8 Posted: 2/29/2024 11:56:27 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1675 posts.

Group: User

Hi Overlord. If you can isolate some of the x, y or z variables, you can use this. If not, Viacheslav develops a 3D implicit plot codes for mathcad, you can see that somewhere in the mathcad forum.

create_mesh_xy.sm (8 KiB) downloaded 66 time(s).

Clipboard02.png

Best regards.
Alvaro.
1 users liked this post
#9 Posted: 2/29/2024 4:46:48 PM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

Wrote

If not, Viacheslav develops a 3D implicit plot codes for mathcad, you can see that somewhere in the mathcad forum.


The dots on the graphs above are a sign of my code being used.

Wrote

I ask for a method converting a xyz function to CreateMesh() matrix.


This is only possible for simple cases if the function is easily parameterizable.
Russia ☭ forever, Viacheslav N. Mezentsev
  • New Posts New Posts
  • No New Posts No New Posts