Three equations and more unknown variables

Three equations and more unknown variables - Can Findroot solve three equations with more than three unknown variables? - Сообщения

#1 Опубликовано: 25.11.2023 21:33:51
Sarvesh Ambekar

Sarvesh Ambekar

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

Группа: User

Hello All,
I have four unknowns in three linear equations. In this setup, can the FindRoot function get values for these variables?
I tried the same in MathCAD and could get the solution, but it is not working in Smath.
Can someone guide me, please?
Are there other possible solving methods for handling such equations with 6 or 8 unknowns?
Файл не найден.[aФайл не найден.ttach]48521[/attach]Файл не найден.
Best Regards
Saviind
#2 Опубликовано: 25.11.2023 23:14:54
overlord

overlord

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

Группа: Moderator

Usually al_nleqsolve() is more capable at this kind of situations.
Also your functions shouldn't have boolean operations.

Regards

2023-11-25_18-01.png
#3 Опубликовано: 25.11.2023 23:40:21
Martin Kraska

Martin Kraska

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

Группа: Moderator

Solve() from the Maxima plugin can handle under-determined systems of equations. In such cases, the solution contains a free variable. The name changes every time the sheet is recalculated. If you want to rely on that name, insert a MaximaControl("restart" ) command to reset the Maxima session and the counter.

2023-11-25 16_32_27-SMath Solver - [Trial.sm_].png
Trial_Kr.sm (41 КиБ) скачан 71 раз(а).
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#4 Опубликовано: 30.11.2023 02:08:00
Alvaro Diaz Falconi

Alvaro Diaz Falconi

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

Группа: User

Wrote

... I tried the same in MathCAD and could get the solution, but it is not working in Smath....



Hi. Can you share the Mathcad result? This page is the help for matlab techniques for handling underdetermined systems: https://www.mathworks.com/help/matlab/math/systems-of-linear-equations.html#bt7ov7u

Writing the system as a linear one, SMath have some functions for work with those systems, like this one

sys.png

Trial.sm (61 КиБ) скачан 64 раз(а).

Best regards.
Alvaro.
#5 Опубликовано: 01.12.2023 19:40:17
Jean Giraud

Jean Giraud

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

Группа: User

For your f(x,y,z) ... I get two sets of solved [x,y,z].
Smath solves the Mathsoft example, 4 unknowns.
Smath Butller is lot more advanced/difficult.
Jean.

Solve FindRoot f(x,y,z) ITERATIVE.sm (103 КиБ) скачан 73 раз(а).
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений