print out integrated weight function