NeuroSim Nerve Simulator


While an undergraduate at Cornell, I took a seminar class in Biophysics which included a section on the theory of nerve action. For one of the assignments, I wrote a simple C program to solve the differential equations and plot the change of various important properties (sodium/potassium concentrations, potential difference, and so on) with time.

The important values and properties are hard-coded into the simulation, so only the source code is included. This program outputs to the screen using Borland C graphics commands but the program could also be modified to print to a text file for viewing by external plotting packages.

(Modified) sample output graphing the time-evolution of various properties of a nerve after external application of a potential.
NeuroSim
  • NeuroSim Source Code