Difference between revisions of "NumericalDiffEqs"
From Sean_Carver
(New page: Click here for code for visualizing the numerical solution of differential equations.) |
|||
| Line 1: | Line 1: | ||
| + | Remember the equation for the cell with only leak channels. | ||
| + | |||
| + | <math> C \frac{dV}{dt} = I(t) - g_L(V - E_L) </math> | ||
| + | |||
| + | Let's simplify: suppose there is no injected current and that the reversal potential for the leak channels is <math> E_L = 0 </math>. Then our equation is | ||
| + | |||
| + | <math> \frac{dV}{dt} = - \frac{g_L}{C} V </math> | ||
| + | |||
| + | Using different letters for the variables (because this is done in the software linked below): | ||
| + | |||
| + | <math> \frac{dy}{dt} = - k y </math> | ||
| + | |||
Click here for [[Media:intuit.hoc|code]] for visualizing the numerical solution of differential equations. | Click here for [[Media:intuit.hoc|code]] for visualizing the numerical solution of differential equations. | ||
Revision as of 22:18, 12 February 2009
Remember the equation for the cell with only leak channels.
Let's simplify: suppose there is no injected current and that the reversal potential for the leak channels is
. Then our equation is
Using different letters for the variables (because this is done in the software linked below):
Click here for code for visualizing the numerical solution of differential equations.