Labs / Mathematics

Composition Machine

Pick two functions and watch a value ride the pipeline: it passes through g, comes out changed, then flows into f. The graph plots the whole composite f(g(x)), and you can scrub the input by dragging across it. Composition means chaining functions together — the output of one becomes the input of the next.

inner g(1.20) = 1.44result f(g(x)) = 2.88y = 2·(x²)

What to try