Talk:Resistance calculator: Difference between revisions

m
Thundergnat moved page Talk:Resistance Calculator to Talk:Resistance calculator: Follow normal task title capitalization policy
(→‎Shunting Yard: new section)
m (Thundergnat moved page Talk:Resistance Calculator to Talk:Resistance calculator: Follow normal task title capitalization policy)
 
(11 intermediate revisions by 3 users not shown)
Line 1:
== need help with the picture==
--[[User:ChristerNilsson|ChristerNilsson]] ([[User talk:ChristerNilsson|talk]]) 11:02, 14 March 2019 (UTC)
I need help with the picture. File Upload seems to be broken since 2016.
Line 46 ⟶ 47:
* Infix: 2 + 3
* RPN: 2 3 +
 
This proposal unfortunately has the implication that operator overloading is no longer needed.
 
== Task extensions ==
 
Serial/parallel circuits are a simple case, there is a more general case where you can model the resistor network with a sparse symmetric matrix and solve a linear system to get the resistance between any two points of the network. See [[Resistor mesh#Maxima]] for instance. [[User:Eoraptor|Eoraptor]] ([[User talk:Eoraptor|talk]]) 23:51, 19 March 2019 (UTC)
 
The Mesh is very interesting. I haven't figured out how to enter such a beast into a solver using either infix or RPN. The mesh example is very symmetric and easy. How would you propose dealing with a spaghetti mesh? --[[User:ChristerNilsson|ChristerNilsson]] ([[User talk:ChristerNilsson|talk]]) 01:12, 20 March 2019 (UTC)
 
Ok, there is a solution, but I think it should stand on it's own feet. Using the picture and labelling the nodes we get:
AC6 CH8 CD4 DH8 GH4 DG6 DE10 FG8 DF6 EF10. Then we can use the Mesh code. --[[User:ChristerNilsson|ChristerNilsson]] ([[User talk:ChristerNilsson|talk]]) 02:23, 20 March 2019 (UTC)
 
The Mesh example has 180 resistors and 100 nodes. The description might be A1 A2 1|A1 B1 1| .. |J9 J10 1. Then the iteration might start.
Should be able to solve my problems as well. --[[User:ChristerNilsson|ChristerNilsson]] ([[User talk:ChristerNilsson|talk]]) 02:32, 20 March 2019 (UTC)
:A "spaghetti" mesh would still lead to a symmetric matrix: this does not come from the symmetry of the circuit, but from Kirchhoff's laws. If there are N nodes the matrix A has dimensions NxN, and there is a nonzero element A(i,j) for each nodes i,j linked by a resistor. To describe an arbitrary circuit, you need basically to be able to decribe an arbitrary graph: a (usually sparse) matrix, or a list of nodes together with a list of edges, for instance. [[User:Eoraptor|Eoraptor]] ([[User talk:Eoraptor|talk]]) 20:17, 21 March 2019 (UTC)
 
Eoraptor: [https://www.rosettacode.org/wiki/Resistance_Network_Calculator Mission accomplished] --[[User:ChristerNilsson|ChristerNilsson]] ([[User talk:ChristerNilsson|talk]]) 11:08, 22 March 2019 (UTC)
10,327

edits