How do I find removable discontinuity for a function?