what is rule for this function input 0,1,3,4 and range 4,3,1,0

y=4-x

i thought it was easy

thanks, i could not see it ann

To find the rule for a function given a set of input-output pairs, we can look for patterns and relationships between the inputs and outputs.

Let's analyze the given input-output pairs:

Input: 0 Output: 4
Input: 1 Output: 3
Input: 3 Output: 1
Input: 4 Output: 0

From these pairs, we can observe the following pattern:
- When the input increases by 1, the output decreases by 1.

Based on this pattern, we can construct the rule for the function:

If x is the input and y is the output, the rule can be stated as:
y = 4 - x

This function takes the input, subtracts it from 4, and gives the corresponding output.