![]() |
Solve system of equations - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Solve system of equations (/thread-30470.html) Pages:
1
2
|
Solve system of equations - Sancho_Pansa - Oct-22-2020 Hello, I have system of 3 equations with 3 variables, where there is product of variables. Does exist a module allowing to solve it ? Thanks. RE: Solve system of equations - Gribouillis - Oct-22-2020 Scipy contains tools to solve systems of equations. RE: Solve system of equations - metulburr - Oct-22-2020 sympy RE: Solve system of equations - Sancho_Pansa - Oct-22-2020 In fact it is a system of non-linear equations. I found a link where author propose fsolve as the only solution for such problem RE: Solve system of equations - Gribouillis - Oct-22-2020 Why don't you show us the system? It could help find a good way to handle it. RE: Solve system of equations - Sancho_Pansa - Oct-22-2020 (Oct-22-2020, 11:37 AM)Gribouillis Wrote: Why don't you show us the system? It could help find a good way to handle it.Here it is: ![]() Here Rin, CL are constants omega is also constant but different in each of 3 equations as well as TF. Cs, L, Rs are variables. RE: Solve system of equations - Gribouillis - Oct-22-2020 What about Br and Bj. Are they unknown? RE: Solve system of equations - Sancho_Pansa - Oct-22-2020 Br and Bj are calculated from formulas, shown on the picture. I did these replacemnts for reading facility. RE: Solve system of equations - Gribouillis - Oct-22-2020 Have you tried fsolve() ? RE: Solve system of equations - Sancho_Pansa - Oct-22-2020 Not yet, but indeed this is the tool I will use (if there are no other alternatives) |