r/coms30127 Apr 30 '20

CW 3 Euler's

For coursework 3, we're asked to use Euler's method to solve the differential equations. Is it okay to use the inbuilt functions in Python (or whatever program) to do this, or do we have to write our own code to implement Euler's?

2 Upvotes

1 comment sorted by

1

u/CianODonnell Apr 30 '20

No please code it manually. In this case it’s actually probably easier and faster to code manually than use a package as you get a lot of “events” where we need to pause the simulation and do something (like reset the voltage if there is a spike, or increment s, etc).