Square Cross Section Between Two Functions