Computational HW 1, Statistics and Diffusion

In this homework, we're going to test empirically some of the statistical ideas we saw in class

Problem 1: Random walk on a 1d lattice

In class we looked at how a "random walk" on a 1d lattice leads to diffusion. Let's show that it's true using data

Problem 1a - generating a trajectory for a random walk more ...


Python Tutorial/Walkthrough

Python Tutorial

Adapted from this tutorial (https://github.com/kuleshov/cs228-material/blob/master/tutorials/python/cs228-python-tutorial.ipynb) which is by by Volodymyr Kuleshov and Isaac Caswell. That was in turn adapted from the CS231n Python tutorial by Justin Johnson (http://cs231n.github.io/python-numpy-tutorial/).

Introduction

Python is a great general-purpose programming language on its own, but with the help of a few popular libraries (numpy, scipy, matplotlib) it becomes a powerful environment for scientific computing.

more ...