Plane, sphere and cone

Plane, sphere and cone - Messages

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

Valery Ochkov

64 likes in 670 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: 2024/2/20 20:01:51
Valery Ochkov

Valery Ochkov

64 likes in 670 posts.

Group: User


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

overlord

580 likes in 1,348 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.51 KiB) downloaded 855 time(s).

2024-02-20_18-02.png
2 users liked this post
Valery Ochkov 2024/2/20 23:05:00, Davide Carpi 2024/2/21 17:30:00
#4 Posted: 2024/2/21 06:54:08
Martin Kraska

Martin Kraska

1,308 likes in 2,221 posts.

Group: Moderator

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

overlord

580 likes in 1,348 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: 2024/2/22 18:38:16
StvMath

StvMath

43 likes and 1 dislikes in 68 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.92 KiB) downloaded 915 time(s).


TriangleSpherePlane.png

#7 Posted: 2024/2/22 23:36:19
overlord

overlord

580 likes in 1,348 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: 2024/2/29 11:56:27
Alvaro

Alvaro

1,078 likes in 1,749 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.42 KiB) downloaded 896 time(s).

Clipboard02.png

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

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

1,532 likes in 1,838 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
  • No New Posts