from Applications import vfield as vf


def crit_slow(t, x):
    return -x**3


def exp_decay(t, y):
    return -y


# graph an ODE modelling critical slow down (has discontinuities in it's second derivative)
vf.vf_grapher(crit_slow, 0., 10., .001, 10.)

# graph an ODE modelling exponential decay (compare to critical slowdown)
vf.vf_grapher(exp_decay, 0., 10., .001, 10.)


cd5a55c315a0cd233f256460531e493106e8c116
<mask token>


def exp_decay(t, y):
    return -y


<mask token>

<mask token>


def crit_slow(t, x):
    return -x ** 3


def exp_decay(t, y):
    return -y


<mask token>

<mask token>


def crit_slow(t, x):
    return -x ** 3


def exp_decay(t, y):
    return -y


vf.vf_grapher(crit_slow, 0.0, 10.0, 0.001, 10.0)
vf.vf_grapher(exp_decay, 0.0, 10.0, 0.001, 10.0)

from Applications import vfield as vf


def crit_slow(t, x):
    return -x ** 3


def exp_decay(t, y):
    return -y


vf.vf_grapher(crit_slow, 0.0, 10.0, 0.001, 10.0)
vf.vf_grapher(exp_decay, 0.0, 10.0, 0.001, 10.0)

from Applications import vfield as vf


def crit_slow(t, x):
    return -x**3


def exp_decay(t, y):
    return -y


# graph an ODE modelling critical slow down (has discontinuities in it's second derivative)
vf.vf_grapher(crit_slow, 0., 10., .001, 10.)

# graph an ODE modelling exponential decay (compare to critical slowdown)
vf.vf_grapher(exp_decay, 0., 10., .001, 10.)

