Most answers to this question that I\'ve seen just say that the program tests a function y=f(x) with the x values across the window and then connects the points produced by this