Practice problem
What is a Function? - Definition & Examples
Leia is trying to create a machine representing the function . Given an input , the machine should output in the end through a process.
However, she is stranded on an island with only two kinds of machine parts:
- parts, which will double what they're given; and
- parts, which will add to what they're given.
Luckily, Leia can piece these parts together in any order she wants.
How can Leia achieve her goal using only these two kinds of parts? Select all possibilities.