def integrate(x_dot, x, dt):
    """
    Computes the Integral using Euler's method
    :param x_dot: update on the state
    :param x: the previous state
    :param dt: the time delta

    :return The integral of the state x
    """
    return (dt * x_dot) + x