Solve for Unknowns

Solve for Unknowns - 9 Equations, 9 Unknowns - Сообщения

#1 Опубликовано: 16.01.2018 16:57:54
Norm Schutzkus

Norm Schutzkus

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

Группа: User

Transferring a MC sheet. How can I solve for the unknowns?BJT Circuit Analysis.sm (54 КиБ) скачан 48 раз(а).
#2 Опубликовано: 16.01.2018 17:48:31
Arie

Arie

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

Группа: User

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 (63 КиБ) скачан 67 раз(а).
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#3 Опубликовано: 16.01.2018 18:45:55
Norm Schutzkus

Norm Schutzkus

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

Группа: User

Many thanks!
#4 Опубликовано: 16.01.2018 22:15:48
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

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)
#5 Опубликовано: 16.01.2018 23:41:57
Jean Giraud

Jean Giraud

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

Группа: User

... thanks for this LinSolve application.

Maths LinSolve.sm (69 КиБ) скачан 92 раз(а).

#6 Опубликовано: 17.01.2018 04:03:40
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

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 (58 КиБ) скачан 71 раз(а).

#7 Опубликовано: 17.01.2018 10:33:57
Norm Schutzkus

Norm Schutzkus

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

Группа: User

Thanks Jean, for the Solve Treasury worksheet. I updated my sheet splitting the ampere and voltage values apart.

Best regards,

NormBJT Circuit Analysis.sm (49 КиБ) скачан 45 раз(а).
#8 Опубликовано: 17.01.2018 11:07:30
Arie

Arie

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

Группа: User


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 (86 КиБ) скачан 59 раз(а).

Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#9 Опубликовано: 18.01.2018 01:23:34
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

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 (31 КиБ) скачан 69 раз(а).

#10 Опубликовано: 18.01.2018 09:35:41
Arie

Arie

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

Группа: User

Цитата

... 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.
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#11 Опубликовано: 19.01.2018 12:07:33
Jean Giraud

Jean Giraud

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

Группа: User

Wrote


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

  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений