This is a website for the Courant class Modeling and Simulation in Science, Engineering and Economics.

View the Project on GitHub ModelingSimulation/undergraduateClass

Welcome to our website

Here, we will post some useful example code and notes. It is not required for you to work with this code, but it may be helpful for getting started. For Fall 2018, the instructors were Charlie Peskin and Charles Puelz. For Fall 2019, the instructors are Charlie Peskin and Guanhua Sun. This class is associated with the Modeling and Simulation RTG grant here at Courant.


-Harmonic Oscillator: harmonic_oscillator_2d.m, force_spr.m;

-building some structures: simple_structure_2d.m, simple_structure_3d.m

-building a bicycle: bicycle.m

-2d forward Euler example with a chain of springs: spring_string_2d.m

-Sphere Triangulation Program:

-2d bouncing ball: bouncing_ball.m. Try varying the spring and dashpot parameters to see how this impacts the dynamics. Be careful, the set of parameters in this file are close to being unstable with forward Euler :-).

-rigid bodies: rigid_body.m

-falling cone: falling_cone.m

-Stochastic Microscopic Mass Action: micro_mass_action.m

-Enzyme Kientics: enzyme_kinetics.m, fast_eq.m

-Traffic Flow: traffic.m, vel_car.m,a_car.m


Here is a link to some notes that will be regularly updated. These are still a work in progress.

Here are some of Charlie’s hand written notes:

-Mass action

-Principle of detailed balance

-Equations of motion for a gyrocompass

-Enzyme kinetics

-Paper on cellular circadian rhythm

-A genetic switch

-Hemoglobin and an old paper about it.

-Traffic flow


Student projects from Fall 2018

Here is a beautiful project from Zeshun Zong and Yifeng Chen and gyroscopes and their applications. You can find their code in this repo.

A project on 1D blood flow by Murphy Pan

Details regarding Projects