exponential and logarithmic lec4