roots function

roots function - 4 equations with 4 unknowns - Сообщения

#21 Опубликовано: 14.11.2024 05:05:31
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: 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 Diaz Falconi 14.11.2024 05:41:00
#22 Опубликовано: 14.11.2024 06:03:55
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1675 понравились пользователям.

Группа: 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 Опубликовано: 19.11.2024 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 19.11.2024 17:58:00, francesco rapuano 19.11.2024 18:02:00
#24 Опубликовано: 20.11.2024 00:23:44
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: Moderator

Here is a version with two unknowns.

Triangle.sm (20 КиБ) скачан 85 раз(а).
Triangle.png
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
2 пользователям понравился этот пост
Вячеслав Мезенцев 20.11.2024 02:28:00, Oscar Campo 20.11.2024 00:26:00
#25 Опубликовано: 20.11.2024 14:47:56
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

One more example.

triangle-from-angle.jpg

Russia ☭ forever, Viacheslav N. Mezentsev
#26 Опубликовано: 20.11.2024 16:39:13
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1675 понравились пользователям.

Группа: 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 КиБ) скачан 70 раз(а).

a.gif

Best regards.
Alvaro.

2 пользователям понравился этот пост
Вячеслав Мезенцев 20.11.2024 16:48:00, Oscar Campo 20.11.2024 16:46:00
#27 Опубликовано: 21.11.2024 01:06:12
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Possible alternatives

P.S. Region(β,u) := (0<β<π Λ 0
triangle-from-angle-tips.jpg
Russia ☭ forever, Viacheslav N. Mezentsev
#28 Опубликовано: 21.11.2024 03:12:20
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

A little shorter

Triangle (uni).sm (15 КиБ) скачан 65 раз(а).

Triangle (uni).png

Russia ☭ forever, Viacheslav N. Mezentsev
1 пользователям понравился этот пост
francesco rapuano 21.11.2024 18:36:00
#29 Опубликовано: 21.11.2024 11:48:31
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1675 понравились пользователям.

Группа: User

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

geom-scb-new-xyplot.sm (26 КиБ) скачан 69 раз(а).

sol.png

Best regards.
Alvaro.



5 пользователям понравился этот пост
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 Опубликовано: 26.11.2024 10:34:06
Oscar Campo

Oscar Campo

124 сообщений из 298 понравились пользователям.

Группа: 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
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений