return (Math.cos(x/5) + Math.sin(x/7) + 2) * getSize().height / 4;
return "Draws a sin graph.";
for (int x = 0 ; x < getSize().width ; x++) { g.drawLine(x, (int)f(x), x + 1, (int)f(x + 1)); }