function of real variable