roots function

roots function - 4 equations with 4 unknowns - Poruke

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

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

1.558 svidjanja u 1.868 postova.

Grupa: 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 korisnika je svidelo ovu objavu
Alvaro 14. 11. 2024. 05:41:00
#22 Objavljeno: 14. 11. 2024. 06:03:55
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: 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 Objavljeno: 19. 11. 2024. 17:27:23
scb

scb

3 svidjanja u 15 postova.

Grupa: 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!

Fajl nije pronađen.Fajl nije pronađen.
2 korisnika je svidelo ovu objavu
Oscar Campo 19. 11. 2024. 17:58:00, francesco rapuano 19. 11. 2024. 18:02:00
#24 Objavljeno: 20. 11. 2024. 00:23:44
Martin Kraska

Martin Kraska

1.369 svidjanja u 2.283 postova.

Grupa: Moderator

Here is a version with two unknowns.

Triangle.sm (20,82 KiB) preuzeto 1948 put(ova).
Triangle.png
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
2 korisnika je svidelo ovu objavu
Вячеслав Мезенцев 20. 11. 2024. 02:28:00, Oscar Campo 20. 11. 2024. 00:26:00
#25 Objavljeno: 20. 11. 2024. 14:47:56
Вячеслав Мезенцев

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

1.558 svidjanja u 1.868 postova.

Grupa: Moderator

One more example.

triangle-from-angle.jpg

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

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: 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) preuzeto 1931 put(ova).

a.gif

Best regards.
Alvaro.

2 korisnika je svidelo ovu objavu
Вячеслав Мезенцев 20. 11. 2024. 16:48:00, Oscar Campo 20. 11. 2024. 16:46:00
#27 Objavljeno: 21. 11. 2024. 01:06:12
Вячеслав Мезенцев

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

1.558 svidjanja u 1.868 postova.

Grupa: Moderator

Possible alternatives

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

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

1.558 svidjanja u 1.868 postova.

Grupa: Moderator

A little shorter

Triangle (uni).sm (15,1 KiB) preuzeto 1826 put(ova).

Triangle (uni).png

Russia ☭ forever, Viacheslav N. Mezentsev
1 korisnika je svidelo ovu objavu
francesco rapuano 21. 11. 2024. 18:36:00
#29 Objavljeno: 21. 11. 2024. 11:48:31
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: User

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

geom-scb-new-xyplot.sm (26,27 KiB) preuzeto 1886 put(ova).

sol.png

Best regards.
Alvaro.



5 korisnika je svidelo ovu objavu
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 Objavljeno: 26. 11. 2024. 10:34:06
Oscar Campo

Oscar Campo

135 svidjanja u 309 postova.

Grupa: 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
  • Novi postovi
  • Nema novih postova