Sage Math Tutorial - Advanced Examples

This web page contains an interactive Sage widget. You can edit it however you want.


T-Cell Activation: Stochastic vs Deterministic

This demo generates stochastic and deterministic trajectories for T-cell activation and graphs them for comparison. This first section generates a stochastic trajectory using the Gillespie algorithm:

This second section generates a deterministic trajectory by solving the system of differential equations with a Runge-Kutta method:

This final cell graphs the results for comparison:

See this page for more documentation about embedding Sage Cells in your web pages. The Sage Cell Server is open source, so you can also install your own server.