A continuous function is a function that can be drawn without lifting your pen off the paper…