Solve with 4 args

Solve with 4 args - Is it a bug? - Messages

#1 Posted: 7/15/2026 7:34:36 AM
Valery Ochkov

Valery Ochkov

66 likes in 690 posts.

Group: User

solve(4).png
solve(4).sm (110.53 KiB) downloaded 586 time(s).
#2 Posted: 7/15/2026 11:14:15 AM
Alvaro

Alvaro

1,118 likes in 1,794 posts.

Group: 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) downloaded 591 time(s).

Best regards.
Alvaro.
#3 Posted: 7/17/2026 7:17:36 AM
Valery Ochkov

Valery Ochkov

66 likes in 690 posts.

Group: User

Thanks, Alvaro

It is one task from the article
https://disk.yandex.ru/i/59sq-AYpKky-3Q
Edited 7/17/2026 7:28:06 AM
#4 Posted: 7/25/2026 5:40:05 AM
Valery Ochkov

Valery Ochkov

66 likes in 690 posts.

Group: User

Do you know the best solution in SMath?
heard.png
#5 Posted: 7/25/2026 3:50:39 PM
Alvaro

Alvaro

1,118 likes in 1,794 posts.

Group: User

Hi Valery. Two ways.

image.png

heart area.sm (13.36 KiB) downloaded 524 time(s).

Mathcad 11:

image.png

mc11 double int.mcd (4.77 KiB) downloaded 520 time(s).

Best regards.
Alvaro.
Edited 7/25/2026 5:52:57 PM
1 users liked this post
Valery Ochkov 7/25/2026 6:27:25 PM
#6 Posted: 7/25/2026 7:20:52 PM
Valery Ochkov

Valery Ochkov

66 likes in 690 posts.

Group: User

And what about this. We can create an animation.
Rnd.png
Edited 7/25/2026 7:47:21 PM
#7 Posted: 7/26/2026 2:28:14 AM
Alvaro

Alvaro

1,118 likes in 1,794 posts.

Group: 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) downloaded 517 time(s).

Best regards.
Alvaro.
1 users liked this post
Valery Ochkov 7/26/2026 1:14:28 PM
#8 Posted: 7/26/2026 1:40:28 PM
Вячеслав Мезенцев

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

1,550 likes in 1,863 posts.

Group: 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 users liked this post
Valery Ochkov 7/26/2026 2:32:01 PM, Alvaro 7/27/2026 1:20:46 AM
#9 Posted: 7/26/2026 2:36:05 PM
Valery Ochkov

Valery Ochkov

66 likes in 690 posts.

Group: 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 Posted: 7/27/2026 1:25:09 AM
Alvaro

Alvaro

1,118 likes in 1,794 posts.

Group: User

Using Dragilev Method.

image.png

Area and Arc Length of an Implicit Planar Closed Curve - Dragilev Method.sm (16.28 KiB) downloaded 519 time(s).

Best regards.
Alvaro.
Edited 7/27/2026 1:33:24 AM
2 users liked this post
Valery Ochkov 7/27/2026 6:01:49 AM, Вячеслав Мезенцев 7/27/2026 1:28:37 PM
#11 Posted: 7/27/2026 1:27:20 PM
Вячеслав Мезенцев

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

1,550 likes in 1,863 posts.

Group: Moderator

Yes, something like this with the Gaussian area formula.
Russia ☭ forever, Viacheslav N. Mezentsev
1 users liked this post
ioan92 7/28/2026 11:13:51 AM
#12 Posted: 7/28/2026 8:24:46 AM
Alvaro

Alvaro

1,118 likes in 1,794 posts.

Group: 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) downloaded 10 time(s).

Best regards.
Alvaro.
Edited 7/28/2026 8:36:40 AM
1 users liked this post
Valery Ochkov 7/28/2026 4:17:18 PM
  • New Posts
  • No New Posts