Continuity and differentiability of function of real variable