exponential and logarithmic lec3