A Generalization of the Krätzel Function and Its Applications. (26th January 2017)