SMath Studio Forum
»
SMath Studio
»
Bugs & Problems
»
Three equations and more unknown variables
Rank: Newbie
Groups: Registered
Joined: 09/07/2019(UTC) Posts: 3 Location: Mumbai
|
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? Trial.sm (38kb) downloaded 12 time(s).[a Trial.sm (38kb) downloaded 12 time(s).ttach]48521[/attach] Trial.sm (38kb) downloaded 12 time(s).Best Regards Saviind
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,128 Was thanked: 509 time(s) in 339 post(s)
|
Usually al_nleqsolve() is more capable at this kind of situations. Also your functions shouldn't have boolean operations. Regards
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,988 Was thanked: 1125 time(s) in 722 post(s)
|
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. Trial_Kr.sm (42kb) downloaded 8 time(s). |
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,356 Was thanked: 815 time(s) in 516 post(s)
|
Originally Posted by: Saviind ... 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.co...r-equations.html#bt7ov7uWriting the system as a linear one, SMath have some functions for work with those systems, like this one Trial.sm (62kb) downloaded 7 time(s).Best regards. Alvaro.
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
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 (104kb) downloaded 10 time(s).
|
|
|
|
SMath Studio Forum
»
SMath Studio
»
Bugs & Problems
»
Three equations and more unknown variables
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.