Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline OchkovVF  
#1 Posted : 20 February 2024 20:02:30(UTC)
OchkovVF


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 06/04/2023(UTC)
Posts: 424
Man
Russian Federation

Was thanked: 42 time(s) in 39 post(s)
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

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline OchkovVF  
#2 Posted : 21 February 2024 02:01:51(UTC)
OchkovVF


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 06/04/2023(UTC)
Posts: 424
Man
Russian Federation

Was thanked: 42 time(s) in 39 post(s)

Mathcad 15
2-18a.png
Online overlord  
#3 Posted : 21 February 2024 05:02:25(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,170
Turkey

Was thanked: 530 time(s) in 356 post(s)
Findroot() or roots() could solve three unknown systems.
About plotting, I simply wrote equations according to solving of z.

Regards

3Dplot_OchkovVF.sm (5kb) downloaded 11 time(s).

2024-02-20_18-02.png
thanks 2 users thanked overlord for this useful post.
on 21/02/2024(UTC),  on 21/02/2024(UTC)
Offline mkraska  
#4 Posted : 21 February 2024 12:54:08(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 2,026
Germany

Was thanked: 1153 time(s) in 739 post(s)
3Dplot_OchkovVF_Kr.png
3Dplot_OchkovVF_Kr.sm (330kb) downloaded 13 time(s).
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
thanks 1 user thanked mkraska for this useful post.
on 21/02/2024(UTC)
Online overlord  
#5 Posted : 22 February 2024 08:40:57(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,170
Turkey

Was thanked: 530 time(s) in 356 post(s)
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.
Offline StvMath  
#6 Posted : 23 February 2024 00:38:16(UTC)
StvMath


Rank: Advanced Member

Groups: Registered
Joined: 26/07/2022(UTC)
Posts: 48
United Kingdom
Location: UK

Was thanked: 31 time(s) in 27 post(s)
Originally Posted by: overlord Go to Quoted Post
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 (7kb) downloaded 11 time(s).


TriangleSpherePlane.png

Online overlord  
#7 Posted : 23 February 2024 05:36:19(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,170
Turkey

Was thanked: 530 time(s) in 356 post(s)
Originally Posted by: StvMath Go to Quoted Post
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
Offline Razonar  
#8 Posted : 29 February 2024 17:56:27(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,454
Uruguay

Was thanked: 900 time(s) in 574 post(s)
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 (9kb) downloaded 9 time(s).

Clipboard02.png

Best regards.
Alvaro.
thanks 1 user thanked Razonar for this useful post.
on 29/02/2024(UTC)
Offline uni  
#9 Posted : 29 February 2024 22:46:48(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,573
Man
Russian Federation

Was thanked: 1325 time(s) in 776 post(s)
Originally Posted by: Razonar Go to Quoted Post
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.

Originally Posted by: overlord Go to Quoted Post
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.

Edited by user 29 February 2024 22:52:29(UTC)  | Reason: Not specified

Russia ☭ forever
Viacheslav N. Mezentsev
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.