This is a short Python example of a hand-coded finite element analysis of a transmission line assuming rod elements.
Provided code is tested with Python 3.11.3, and Windows 11.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.