euler method
This is a requested post. Clearly, I do requests. The idea here is that I am going to give all the details needed to determine the equation of motion (and then model it) for a basic pendulum. Warning: this post is a little more advanced than my normal posts. There are some prerequisites. You need to understand derivatives. I will assume that you do. Here is a pendulum. (and this time I will stick to my variables)
Like I said before, this is a tricky problem unless I use some tricks. The problem is that the tension the string exerts on the mass changes. Here is my trick: think about a…