結果 : how to test if a function is continuous and differentiable