A common exercise for students learning the function of PID controllers is to practice graphing a controller’s output with given…