Jim's
Tutorials

Spring 2019
course
site

Most of my work has been with the simulation involving the large particle and the many small particles. I'm having some small issue setting the exact boundaries, number of particles, etc. so that a reasonable number of collisions happen, but that isn't a huge deal.

My main problems are that in one of my functions I occasionally get a square root of a negative, and in another function I end up with overflow errors. It is all explained in the actual file, which I will attach to this page in html and ipython format.

The other program is going well, I'm just tidying up a lot of stuff to make it readable and cleaner. The only thing I am unsure about at this moment is how to fit a function to a curve and determine values from that. Like, my auto correlated function should end up in the shape of \( R_I (\Delta t) = A + Be^{\Gamma \Delta t} \) and I want to find gamma. I found some stuff about scipy curve fitting, but I havent had the opportunity to try it out yet.

https://cs.marlboro.college /cours /spring2019 /jims_tutorials /jtuttle /mar27
last modified Fri May 3 2024 5:46 pm

attachments [paper clip]

  last modified size
TXT simplebrownian.html Fri May 03 2024 05:46 pm 286K
TXT simplebrownian.ipynb Fri May 03 2024 05:46 pm 15K