Yesterday, the best answer is: e^(abs(floor(cos(x)))/-x). (Contributed by tricky. Good Job!)