Solve with 4 args

Solve with 4 args - Is it a bug? - 消息

#1 已发布: 2026/7/15 07:34:36
Valery Ochkov

Valery Ochkov

67个赞,共716个帖子。

组: User

solve(4).png
solve(4).sm (110.53 KiB)已下载 941 次。
#2 已发布: 2026/7/15 11:14:15
Alvaro

Alvaro

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

组: User

Hi Valery. It seems that solve doesn't know how to order the interval.

The 6 solutions numerically

image.png

And symbolically

image.png

solve(4).sm (158.3 KiB)已下载 957 次。

Best regards.
Alvaro.
#3 已发布: 2026/7/17 07:17:36
Valery Ochkov

Valery Ochkov

67个赞,共716个帖子。

组: User

Thanks, Alvaro

It is one task from the article
https://disk.yandex.ru/i/59sq-AYpKky-3Q
已编辑 2026/7/17 07:28:06
#4 已发布: 2026/7/25 05:40:05
Valery Ochkov

Valery Ochkov

67个赞,共716个帖子。

组: User

Do you know the best solution in SMath?
heard.png
#5 已发布: 2026/7/25 15:50:39
Alvaro

Alvaro

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

组: User

Hi Valery. Two ways.

image.png

heart area.sm (13.36 KiB)已下载 900 次。

Mathcad 11:

image.png

mc11 double int.mcd (4.77 KiB)已下载 910 次。

Best regards.
Alvaro.
已编辑 2026/7/25 17:52:57
1位用户喜欢此帖子
Valery Ochkov 2026/7/25 18:27:25
#6 已发布: 2026/7/25 19:20:52
Valery Ochkov

Valery Ochkov

67个赞,共716个帖子。

组: User

And what about this. We can create an animation.
Rnd.png
已编辑 2026/7/25 19:47:21
#7 已发布: 2026/7/26 02:28:14
Alvaro

Alvaro

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

组: User

It's possible, although speed isn't one of SMath's main features. And with so few points, there isn't much accuracy.

image.png

heart area.gif

heart area.sm (26.99 KiB)已下载 892 次。

Best regards.
Alvaro.
1位用户喜欢此帖子
Valery Ochkov 2026/7/26 13:14:28
#8 已发布: 2026/7/26 13:40:28
Вячеслав Мезенцев

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

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

组: Moderator

I can write a function that returns a set of closed isolines. The area can be calculated from the points on the curve. To construct implicit graphs, a function is used that returns the coordinate sets of the found isolines.
Russia ☭ forever, Viacheslav N. Mezentsev
2位用户喜欢此帖子
Valery Ochkov 2026/7/26 14:32:01, Alvaro 2026/7/27 01:20:46
#9 已发布: 2026/7/26 14:36:05
Valery Ochkov

Valery Ochkov

67个赞,共716个帖子。

组: User

Wrote

I can write a function that returns a set of closed isolines. The area can be calculated from the points on the curve. To construct implicit graphs, a function is used that returns the coordinate sets of the found isolines.


Вячеслав, привет!
Брось все силы на создание инструментов оптимизации с ограничением типа Given... Minimize/Maximize в Mathcad 15. Этого очень не хватает в SMath.
И Андрей на это настроен.
#10 已发布: 2026/7/27 01:25:09
Alvaro

Alvaro

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

组: User

Using Dragilev Method.

image.png

Area and Arc Length of an Implicit Planar Closed Curve - Dragilev Method.sm (16.28 KiB)已下载 914 次。

Best regards.
Alvaro.
已编辑 2026/7/27 01:33:24
2位用户喜欢此帖子
Valery Ochkov 2026/7/27 06:01:49, Вячеслав Мезенцев 2026/7/27 13:28:37
#11 已发布: 2026/7/27 13:27:20
Вячеслав Мезенцев

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

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

组: Moderator

Yes, something like this with the Gaussian area formula.
Russia ☭ forever, Viacheslav N. Mezentsev
1位用户喜欢此帖子
ioan92 2026/7/28 11:13:51
#12 已发布: 2026/7/28 08:24:46
Alvaro

Alvaro

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

组: User

Wrote

Yes, something like this with the Gaussian area formula.


Hi Viacheslav. In that case, I'd like to point out that dividing by the norme (Δ) means the curve is parameterized with respect to arc length, and that if you're going to improve the points using the original function, you must also do so with the parameter variable, which in the program's notation is T. This is because Dragilev's method ultimately obtains the parametric expressions x(t) and y(t) from the implicit function f(x,y) when starting from a point (xo,yo) on the curve.

This is one way to correct the arc length given by T if you choose to improve the curve points, although there must be better methods involving splines for curves in the plane, not just single-valued functions. There are also better approximations for the area enclosed by the curve; the one used here is simply the area defined by a closed polygon.

image.png

Area and Arc Length of an Implicit Planar Closed Curve - Dragilev Method.sm (17.78 KiB)已下载 395 次。

Best regards.
Alvaro.
已编辑 2026/7/28 08:36:40
1位用户喜欢此帖子
Valery Ochkov 2026/7/28 16:17:18
  • 有新帖
  • 无新帖