def bend_stress(mom, y, i):
    """
    bend_stress(mom, y, i)

    Returns the bending stress given the applied moment, distance to the
    centroid, and moment of inertia.
    """
    return mom * y / i