F(x) Graph and Audio Visualizer

Define a mathematical function of x (e.g., x * x, 3 * x + 1, Math.sin(x), sin(x) ).