roots function

roots function - 4 equations with 4 unknowns - Messaggi

#21 Pubblicato: 14/11/2024 05:05:31
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: Moderator

In the same way, you can add points to a triangle.

geom-scb-v4_2.jpg

geom-scb-v4.jpg
Russia ☭ forever, Viacheslav N. Mezentsev
1 utenti hanno apprezzato questo post
Alvaro 14/11/2024 05:41:00
#22 Pubblicato: 14/11/2024 06:03:55
Alvaro

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: User

Wrote

In the same way, you can add points to a triangle.


Thanks again. You should know me: if the code is shorter, there are always several good reasons to say that it is better than the longer ones. Surely inefficient, but efficiency is often overrated.

In the traces menu of XYPlot, you have for the LineStyle.Method the options (Lines, Splines, Labels, etc.) If you add there the value "Polygon" maybe you can simplify the input for fill a region. In such case, the LineStyle.Pattern and LineStyle.Thiknes fields could represent the values for the for the border of the region, or maybe the values under the Symbol.Style fields, I don't see which one could be better. Or maybe "Polygon" goes under the field LineStyle.Pattern.

I don't know if a register for color transparency would be missing either.

BTW the goal is to enable the user to fill a region and mark its border by specifying only the points of the region once and as a simple matrix of XY values.

In any case, the notation you already have would not be touched, since it works very well. It would be very impractical to have to program the traces to represent a surface or vectors with changing colors if the current notation is lost.

Best regards.
Alvaro.
#23 Pubblicato: 19/11/2024 17:27:23
scb

scb

3 apprezzamenti in 15 post.

Gruppo: User

Hi Alvaro and others.

The following is my way of utilising the fact that u/v equals c/b, and since I can apply the cosine-relations on the 3 related triangles, I get the needed 4. equation from u+v=a and u/v=c/b.
After some trials it turned out, that "FindRoot" with the NonlinearSolvers plugin installed, could solve the 4 unknowns in 4 equations (which was my initial idea and problem). I have tried the method on several triangles with succes.
I would very much like a comment.

Best wishes
Søren.

p.s. My last problem with this triangle-thing is a way to construct it (like in the old days) using only pen, paper, ruler and compass - no computer!

File non trovato.File non trovato.
2 utenti hanno apprezzato questo post
Oscar Campo 19/11/2024 17:58:00, francesco rapuano 19/11/2024 18:02:00
#24 Pubblicato: 20/11/2024 00:23:44
Martin Kraska

Martin Kraska

1.361 apprezzamenti in 2.275 post.

Gruppo: Moderator

Here is a version with two unknowns.

Triangle.sm (20,82 KiB) scaricato 1901 volta(e).
Triangle.png
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
2 utenti hanno apprezzato questo post
Вячеслав Мезенцев 20/11/2024 02:28:00, Oscar Campo 20/11/2024 00:26:00
#25 Pubblicato: 20/11/2024 14:47:56
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: Moderator

One more example.

triangle-from-angle.jpg

Russia ☭ forever, Viacheslav N. Mezentsev
#26 Pubblicato: 20/11/2024 16:39:13
Alvaro

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: User

Wrote

... p.s. My last problem with this triangle-thing is a way to construct it (like in the old days) using only pen, paper, ruler and compass - no computer! ...



Hi Søren. Here the procedure with only ruler and compass, perhaps with the addition of an angle protractor and a square, to simplify our lives, and an auxiliary geometric construction would remain to be carried out to find the radius of the circle with center F and radius given by (h+√(h^2+8*OB*EF))/2, where h, OB and EF are known, and since it is quadratic, it can also be constructed using only a ruler and compass.

geom-scb-anim.sm (33,38 KiB) scaricato 1876 volta(e).

a.gif

Best regards.
Alvaro.

2 utenti hanno apprezzato questo post
Вячеслав Мезенцев 20/11/2024 16:48:00, Oscar Campo 20/11/2024 16:46:00
#27 Pubblicato: 21/11/2024 01:06:12
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: Moderator

Possible alternatives

P.S. Region(β,u) := (0<β<π Λ 0
triangle-from-angle-tips.jpg
Russia ☭ forever, Viacheslav N. Mezentsev
#28 Pubblicato: 21/11/2024 03:12:20
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: Moderator

A little shorter

Triangle (uni).sm (15,1 KiB) scaricato 1777 volta(e).

Triangle (uni).png

Russia ☭ forever, Viacheslav N. Mezentsev
1 utenti hanno apprezzato questo post
francesco rapuano 21/11/2024 18:36:00
#29 Pubblicato: 21/11/2024 11:48:31
Alvaro

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: User

Trigonometric and root free, exact version, also using the new capabilities of XYPlot.

geom-scb-new-xyplot.sm (26,27 KiB) scaricato 1846 volta(e).

sol.png

Best regards.
Alvaro.



5 utenti hanno apprezzato questo post
francesco rapuano 21/11/2024 18:36:00, Вячеслав Мезенцев 21/11/2024 21:58:00, sergio 21/11/2024 22:47:00, Oscar Campo 21/11/2024 16:24:00, NDTM Amarasekera 21/11/2024 16:40:00
#30 Pubblicato: 26/11/2024 10:34:06
Oscar Campo

Oscar Campo

135 apprezzamenti in 309 post.

Gruppo: Moderator

Wrote



p.s. My last problem with this triangle-thing is a way to construct it (like in the old days) using only pen, paper, ruler and compass - no computer!



Here is a method I use to construct this triangle by trial and error, with "digital pen, paper, ruler and compass"


?si=plmK5j0jQs1Uvhtx

Best,

Oscar
  • Nuovi post
  • Nessun nuovo post