1 Pages (5 items)
Three equations and more unknown variables - Can Findroot solve three equations with more than three unknown variables? - Messages
#1 Posted: 11/25/2023 9:33:51 PM
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?
File not found.[aFile not found.ttach]48521[/attach]File not found.
Best Regards
Saviind
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?
File not found.[aFile not found.ttach]48521[/attach]File not found.
Best Regards
Saviind
#2 Posted: 11/25/2023 11:14:54 PM
#3 Posted: 11/25/2023 11:40:21 PM
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](/en-US/file/es37xF/2023-11-25-16_32_27-SMath-Solver---_Trial_sm___png)
Trial_Kr.sm (41 KiB) downloaded 64 time(s).
Trial_Kr.sm (41 KiB) downloaded 64 time(s).
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#4 Posted: 11/30/2023 2:08:00 AM
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
Trial.sm (61 KiB) downloaded 63 time(s).
Best regards.
Alvaro.
#5 Posted: 12/1/2023 7:40:17 PM
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 KiB) downloaded 66 time(s).
Smath solves the Mathsoft example, 4 unknowns.
Smath Butller is lot more advanced/difficult.
Jean.
Solve FindRoot f(x,y,z) ITERATIVE.sm (103 KiB) downloaded 66 time(s).
1 Pages (5 items)
-
New Posts
-
No New Posts