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

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline ola_nicolas  
#1 Posted : 20 July 2023 14:59:54(UTC)
ola_nicolas


Rank: Advanced Member

Groups: Registered
Joined: 21/11/2017(UTC)
Posts: 114
Romania
Location: Olt county

Was thanked: 1 time(s) in 1 post(s)
Trying to analytically solve a practical matter, I came to the sophistry in the attached file. Maybe someone knows what the causes are. Sophism.sm (30kb) downloaded 12 time(s).

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

Offline Davide Carpi  
#2 Posted : 20 July 2023 15:14:20(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,649
Man
Italy
Location: Italy

Was thanked: 1333 time(s) in 877 post(s)
2023-07-20 14_13_48-SMath Solver - [Sophism.sm_].png
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline ola_nicolas  
#3 Posted : 20 July 2023 16:10:03(UTC)
ola_nicolas


Rank: Advanced Member

Groups: Registered
Joined: 21/11/2017(UTC)
Posts: 114
Romania
Location: Olt county

Was thanked: 1 time(s) in 1 post(s)
Good! You tell me that there are two solutions. I agree! But in this case the roots(2) function should mention them as such. In addition, the other intersection has coordinates x=-6.72537 and y=+21.20924. As a result, I (as a technician with a specialty other than mathematics) am confused. I understand that the other solution, I have to enter it from the console, in the case of a complicated and automated calculation?! My request is that you show me another method of calculation, which will offer me a solution automatically applicable to the case in question. Automatically, meaning without my intervention from the console.

Edited by user 20 July 2023 16:27:46(UTC)  | Reason: Not specified

Offline Jean Giraud  
#4 Posted : 20 July 2023 16:40:50(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Since Smath Studio ... has been replaced by Smath Solver,
lots of Studio projects don't work anymore.
Page 1 of this document solves line/intersection/circle.
Further down red complains. Slope/Intercept are kaput Solver.
You can rescue from the numerical code ... page 6
Eventually, you can solve any f(x,y), F(x,y) intersection(s).
Hope it helps ... Jean.

Solve Circle Line Intersect Normal.sm (171kb) downloaded 6 time(s).
Offline Jean Giraud  
#5 Posted : 20 July 2023 16:57:17(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
roots(3) solves intersection(s) of two symbolic differentiable functions.
Initialize wisely the third argument of roots(3)
Offline Jean Giraud  
#6 Posted : 20 July 2023 17:18:20(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: ola_nicolas Go to Quoted Post
Good! You tell me that there are two solutions. I agree! But in this case the roots(2) function should mention them as such. In addition, the other intersection has coordinates x=-6.72537 and y= 21.20924. As a result, I (as a technician with a specialty other than mathematics) am confused. I understand that the other solution, I have to enter it from the console, in the case of a complicated and automated calculation?! My request is that you show me another method of calculation, which will offer me a solution automatically applicable to the case in question. Automatically, meaning without my intervention from the console.

Previously explained.


Offline overlord  
#7 Posted : 20 July 2023 17:32:29(UTC)
overlord


Rank: Advanced Member

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

Was thanked: 509 time(s) in 339 post(s)
Originally Posted by: ola_nicolas Go to Quoted Post
Good! You tell me that there are two solutions.

This is why we have roots(3).
Solving without plotting is bad exercise.
You may have full, correct and single answers without guesses for some equations.
But sometimes you are gonna need to plot equations, find intersections and their coordinates.
If you determine good guess points, it will show you nearest results to that coordinates.

Regards

2023-07-20_17-02.png
Offline ola_nicolas  
#8 Posted : 20 July 2023 21:47:16(UTC)
ola_nicolas


Rank: Advanced Member

Groups: Registered
Joined: 21/11/2017(UTC)
Posts: 114
Romania
Location: Olt county

Was thanked: 1 time(s) in 1 post(s)
Thank you to everyone.
I was an engineer (currently retired) but I still have an intense activity related to my job. In engineering, although mathematics is a very useful tool (especially in engineering design), I cannot afford to waste time analyzing calculations. That's why I make any calculation from the beginning focused on the physical object of interest. That is precisely why I used an AutoCad-type program to sketch the geometric part, quoting in coordinates, instead of indicating the points of interest in a mathematical style. Admittedly, I haven't tried the roots(3) version. So I hope that the problem will be solved in this way. Thank you all at once.
Offline Razonar  
#9 Posted : 20 July 2023 22:42:03(UTC)
Razonar


Rank: Advanced Member

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

Was thanked: 815 time(s) in 516 post(s)
Hi Nicolas.

Originally Posted by: ola_nicolas Go to Quoted Post
Good! You tell me that there are two solutions. I agree! But in this case the roots(2) function should mention them as such.


Not in this case, because SMath's solve is a numerical procedure. You can demand that of maple's solve() or Maxima's Solve() .

Originally Posted by: ola_nicolas Go to Quoted Post
In addition, the other intersection has coordinates x=-6.72537 and y=+21.20924.


Not that fast ... the values for x are +6.7253 and -21.2093.

Originally Posted by: ola_nicolas Go to Quoted Post
My request is that you show me another method of calculation, which will offer me a solution automatically applicable to the case in question. Automatically, meaning without my intervention from the console.


Although I think that overlord's solution shows the correct solution, this other method does not require initial values, since it makes use of the knowledge that the solution implies a quadratic equation, assuming that the line M'N is not vertical .

Clipboard01.png

Sophism.sm (36kb) downloaded 10 time(s).

Best regards.
Alvaro.
Offline ola_nicolas  
#10 Posted : 21 July 2023 08:19:38(UTC)
ola_nicolas


Rank: Advanced Member

Groups: Registered
Joined: 21/11/2017(UTC)
Posts: 114
Romania
Location: Olt county

Was thanked: 1 time(s) in 1 post(s)
Image.png
Originally Posted by: Razonar Go to Quoted Post
Not that fast ... the values for x are 6.7253 and -21.2093.

The form in which the result of the roots(2) request is presented is as in the attachment. I thought (!?!?!?) that the elements of the vector represent the results x and y, respectively.

Edited by user 21 July 2023 08:23:28(UTC)  | Reason: Not specified

Offline ola_nicolas  
#11 Posted : 21 July 2023 14:31:00(UTC)
ola_nicolas


Rank: Advanced Member

Groups: Registered
Joined: 21/11/2017(UTC)
Posts: 114
Romania
Location: Olt county

Was thanked: 1 time(s) in 1 post(s)
With a suitable pair of guess values, the problem will always indicate the pair of variables of the considered point, as can be seen in the attachment. Thanks for the guidance.Image_.png
Users browsing this topic
Guest
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.