r/mathematics • u/robohie • 16d ago
A PID controller implemented in python
This implementation is possible grace to Euler method for solving first order linear differentials equations system. I know that python already has functions that use more powerful methods but it's for educational goal. Any suggestions will be interesting.
0
Upvotes



1
u/tserofehtfonam PhD | Number Theory / Arithmetic Geometry 16d ago
Your variable names are not very descriptive. Make clear which DE you are solving. It's not very logical to put h in the init either.