Mark Yourself Question
Let D={-2,-1,0,1,2}. Define s(n) to be the nonnegative square root of n2. List the input-output pairs and explain why s is a function on D.
Unlock full course notes by signing up
Discrete Functions: difficulty 3
A function t maps the input set {red, blue, green, yellow} into {warm, cool, neutral}. Its table is red to warm, blue to cool, green to cool, yellow to warm. State (1) the domain, (2) the codomain, and (3) the range actually attained.