Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
repository:cat_toy [2020/04/02 00:36] porcaro1 [Cat Toy] |
repository:cat_toy [2020/04/02 00:46] porcaro1 [Cat Toy] |
||
---|---|---|---|
Line 101: | Line 101: | ||
| | ||
Fspring=-1*k*s*Lhat | Fspring=-1*k*s*Lhat | ||
- | Fnet=Fspring | + | Fnet=Fspring #(Linear damping)# -c*block.p/block.mass |
| | ||
block.p = block.p + Fnet*dt | block.p = block.p + Fnet*dt |