A continuous function is a function that can be drawn without lifting your pen off the paper while making no sharp changes, an unbroken, smooth curved line. While, a discontinuous function is the opposite…