1 страниц (11 вхождений)
Mathcad Prime root vs SMath Studio roots/FindRoot - How to make SMath root function to behave like Mathcad Prime root function? - Сообщения
#1 Опубликовано: 07.10.2024 14:11:16
#2 Опубликовано: 07.10.2024 15:40:48
#3 Опубликовано: 07.10.2024 16:44:39
Like this?
always remember to check the results, sometimes FindRoot might return a result far from the solution.
FindRoot_range_random.sm (9 КиБ) скачан 22 раз(а).
![2024-10-07 11_35_41-SMath Solver - [FindRoot_range_random.sm].png](/ru-RU/file/e6s2TU/2024-10-07-11_35_41-SMath-Solver---_FindRoot_range_random_sm__png)
always remember to check the results, sometimes FindRoot might return a result far from the solution.
FindRoot_range_random.sm (9 КиБ) скачан 22 раз(а).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#4 Опубликовано: 07.10.2024 18:13:02
#5 Опубликовано: 07.10.2024 18:24:39
1 пользователям понравился этот пост
Davide Carpi 07.10.2024 18:26:00
#6 Опубликовано: 07.10.2024 18:30:21
#7 Опубликовано: 08.10.2024 00:41:36
uni, what I do dont yet understand îs why Maxima engine (by using Solve(f(x), x)) gives that "strânge" 4 results (different by maple and mathcad prime results)?
#8 Опубликовано: 08.10.2024 01:20:46
Some comments. The solutions for mathcad's solve and SMath's FindRoots are numerical, so they depend on the initial values, and are susceptible to returning wrong values, without this being considered a bug in the function itself. Therefore, Davide's recommendation to verify the solutions is very accurate. In addition, they can find numerous solutions to a second or fourth degree polynomial equation, even if there is a theorem that says they are exactly two and four respectively.
The solutions for Maple and Maxima are symbolic. If they were wrong, that is, they did not verify the initial equation, then it would be necessary to state that it is a bug in the program. But both systems return the same solution, except that they are expressed differently, which is perfectly valid. This is a way of showing that the solutions for Maple and Maxima are the same.
roots.sm (8 КиБ) скачан 29 раз(а).

Best regards.
Alvaro.
The solutions for Maple and Maxima are symbolic. If they were wrong, that is, they did not verify the initial equation, then it would be necessary to state that it is a bug in the program. But both systems return the same solution, except that they are expressed differently, which is perfectly valid. This is a way of showing that the solutions for Maple and Maxima are the same.
roots.sm (8 КиБ) скачан 29 раз(а).
Best regards.
Alvaro.
1 пользователям понравился этот пост
Вячеслав Мезенцев 08.10.2024 03:22:00
#9 Опубликовано: 08.10.2024 01:50:22
Imagine that the fourth root of -1 is the root of the imaginary unit and that is a 45 degree rotation. Rotate each solution from the unit vector by the appropriate angle in the desired direction.
In computer algebra, there is a problem with the output of equivalent expressions. If two solutions are equivalent, then the more compact textual representation is usually chosen for display. The symbolic engine can be asked to output in a different form. Such capabilities should be available.
In computer algebra, there is a problem with the output of equivalent expressions. If two solutions are equivalent, then the more compact textual representation is usually chosen for display. The symbolic engine can be asked to output in a different form. Such capabilities should be available.
Russia ☭ forever, Viacheslav N. Mezentsev
#10 Опубликовано: 08.10.2024 03:20:43
Ok Alvaro, now I can understand. Thanks You all for all responses.
#11 Опубликовано: 08.10.2024 14:52:53
Note that you can use Assign() for more options to control the display of solutions given as boolean equations (here you want the numerical values). The side effect is that the equations are converted to assignments. This is actually the primary task of Assign().

Blatt32.sm (5 КиБ) скачан 36 раз(а).
Blatt32.sm (5 КиБ) скачан 36 раз(а).
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 страниц (11 вхождений)
-
Новые сообщения
-
Нет новых сообщений