roots function

roots function - 4 equations with 4 unknowns - 消息

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

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

1,558个赞,共1,868个帖子。

组: 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位用户喜欢此帖子
Alvaro 2024/11/14 05:41:00
#22 已发布: 2024/11/14 06:03:55
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: 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 已发布: 2024/11/19 17:27:23
scb

scb

3个赞,共15个帖子。

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

未找到文件。未找到文件。
2位用户喜欢此帖子
Oscar Campo 2024/11/19 17:58:00, francesco rapuano 2024/11/19 18:02:00
#24 已发布: 2024/11/20 00:23:44
Martin Kraska

Martin Kraska

1,362个赞,共2,276个帖子。

组: Moderator

Here is a version with two unknowns.

Triangle.sm (20.82 KiB)已下载 1920 次。
Triangle.png
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
2位用户喜欢此帖子
Вячеслав Мезенцев 2024/11/20 02:28:00, Oscar Campo 2024/11/20 00:26:00
#25 已发布: 2024/11/20 14:47:56
Вячеслав Мезенцев

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

1,558个赞,共1,868个帖子。

组: Moderator

One more example.

triangle-from-angle.jpg

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

Alvaro

1,139个赞,共1,805个帖子。

组: 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)已下载 1904 次。

a.gif

Best regards.
Alvaro.

2位用户喜欢此帖子
Вячеслав Мезенцев 2024/11/20 16:48:00, Oscar Campo 2024/11/20 16:46:00
#27 已发布: 2024/11/21 01:06:12
Вячеслав Мезенцев

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

1,558个赞,共1,868个帖子。

组: Moderator

Possible alternatives

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

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

1,558个赞,共1,868个帖子。

组: Moderator

A little shorter

Triangle (uni).sm (15.1 KiB)已下载 1793 次。

Triangle (uni).png

Russia ☭ forever, Viacheslav N. Mezentsev
1位用户喜欢此帖子
francesco rapuano 2024/11/21 18:36:00
#29 已发布: 2024/11/21 11:48:31
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: User

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

geom-scb-new-xyplot.sm (26.27 KiB)已下载 1862 次。

sol.png

Best regards.
Alvaro.



5位用户喜欢此帖子
francesco rapuano 2024/11/21 18:36:00, Вячеслав Мезенцев 2024/11/21 21:58:00, sergio 2024/11/21 22:47:00, Oscar Campo 2024/11/21 16:24:00, NDTM Amarasekera 2024/11/21 16:40:00
#30 已发布: 2024/11/26 10:34:06
Oscar Campo

Oscar Campo

135个赞,共309个帖子。

组: 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
  • 有新帖
  • 无新帖