Homework Statement
I am making a physics engine for my computer science class and couldn't figure out how to get the spring/mass system to come to equilibrium into a box-like shape such as the one on the left. I can understand why the one on the right is in equilibrium but I don't know how to...