def BodyForce(f, a):
    """
        Adds a body force/acceleration to the acceleration.

        Parameters
        ----------

        f: float, force/acceleration to add to the 
        
        a: array, acceleration of the particles

        Returns
        -------

        array of acceleration
    """

    a += f
    return a