Components are the basic building blocks that we'll use to construct functions. A component has an output wire on its left side and a fixed number of input wires on its right side. Here are the addition, subtraction,
multiplication, and division components.
The squaring and cubing components each have one input wire,
as do the square root and cube root components.
Given values for each of its input wires, a component produces a single value for its output wire in a reproducible way. When we give the squaring component an input three, it will produce the output \( 3^2 = 9 \).
When a component has more than one input wire, we read its inputs from top to bottom. For example, when we give the subtraction component the inputs \( (8, 2) \), it will output the result \( 8 - 2 = 6 \).
A constant component takes no input and will always produce the same output.
Every number gets its own constant component.