Solve optimization problems of exp function

Oops, pardon me!