Loading…
Loading…
A bakery has two machines on a conveyor belt. Machine A rolls dough into balls; Machine B bakes each ball into a roll. You drop in raw dough and a finished roll pops out the far end. You've just composed two functions: A then B. Composition, written f(g(x)) or (f∘g)(x), means 'do g first, hand its output to f.' It's the assembly line of mathematics — the way simple functions combine into powerful ones.