Perhaps its just me, with my inferior computer science degree :P, but first derivative for +ve x is never 0 because the curve doesn't have any turning points at least not with respect to x-axis, because of the exponential nature of exp(x) + sin(x). But instead oscillates with respect to y-axis. Which also checks out with dx/dy right? Am I being wrong?