Rank: Advanced Member Groups: Registered
Joined: 29/11/2017(UTC) Posts: 82 Location: Midwest Was thanked: 9 time(s) in 7 post(s)
|
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/03/2016(UTC) Posts: 276 Was thanked: 91 time(s) in 57 post(s)
|
For using Linsolve(1) function, you need to put the system of equations into a matrix. The result computes the unknowns in alphabetical order, I believe. You can retrieve this information using Unknowns function. BJT Circuit Analysis.sm (64kb) downloaded 43 time(s). |
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 29/11/2017(UTC) Posts: 82 Location: Midwest Was thanked: 9 time(s) in 7 post(s)
|
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: alyles You can retrieve this information using Unknowns function.
Unknowns("variable" - ... from f(x) menu Returns a vector of unassigned variables contained in "1:variable". If unknowns are not found, returns 0. Solutions are returned in lexicographic order ... inspect Unknowns(A)
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
... thanks for this LinSolve application. Maths LinSolve.sm (70kb) downloaded 61 time(s).
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: nasch Transferring a MC sheet. How can I solve for the unknowns? Here is another MCD sheet, converted Smath [circuit application]. Iterative solvers are common in Engineering. Solve TREASURY_1 [Iterate L, Lc].sm (59kb) downloaded 40 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 29/11/2017(UTC) Posts: 82 Location: Midwest Was thanked: 9 time(s) in 7 post(s)
|
Thanks Jean, for the Solve Treasury worksheet. I updated my sheet splitting the ampere and voltage values apart. Best regards, Norm BJT Circuit Analysis.sm (50kb) downloaded 19 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/03/2016(UTC) Posts: 276 Was thanked: 91 time(s) in 57 post(s)
|
I've modified the LinSolve(1) function and created a LinSolve2(2) function that allows user to specify result order vector. I've named it LinSolve2 to avoid confusion with the LinSolve(2) Maxima Plugin function. Not sure if this is useful for anyone. BJT Circuit Analysis (1).sm (87kb) downloaded 39 time(s). |
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: alyles I've modified the LinSolve(1) function and created a LinSolve2(2) function that allows user to specify result order vector. I've named it LinSolve2 to avoid confusion with the LinSolve(2) Maxima Plugin function. Not sure if this is useful for anyone . Lovely separation of result. A useful companion attached, more examples in future. Solve LinSolve COMPANION.sm (32kb) downloaded 43 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/03/2016(UTC) Posts: 276 Was thanked: 91 time(s) in 57 post(s)
|
Quote:... thanks for this LinSolve application. Jean, I believe the original LinSolve function is a snippet created by Martin (mkraska). You can find it within the Snippet Manager in SMath. |
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: alyles Jean, I believe the original LinSolve function is a snippet created by Martin (mkraska)
I think so ... those gyzmas # are Martin style. Easy to removed all # ... like this 1. start by the LHS in the program definition 2. put the cursor on the right of the # 3. press F8 to see all selected, in the program core as well 4. once selected, press Backspace ... gone 5. next proceed in the core of the program 6. result => nice and clean Cheers
|
|
|
|
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.