How do i find the input and out put of these numbers

input output
25 15
30 18
35 21
40 24

Looks like output = (3/5)*input

Thanks a lot I figured it out yesterday by byself.. Thanks a bunch anyways

To find the relationship between the input and output numbers, we can observe the pattern by comparing the input numbers with their corresponding output numbers.

Looking at the input numbers (25, 30, 35, 40) and the output numbers (15, 18, 21, 24), we can notice that the output number is derived by adding a specific value to the input number.

Let's calculate the difference between each input-output pair:
- For the first pair (25, 15), the difference is 15 - 25 = -10.
- For the second pair (30, 18), the difference is 18 - 30 = -12.
- For the third pair (35, 21), the difference is 21 - 35 = -14.
- For the fourth pair (40, 24), the difference is 24 - 40 = -16.

Now we can see a pattern in the differences between the input and output numbers. The difference decreases by 2 with each subsequent pair.

Therefore, to find the output number for any given input number, we can use the following formula:

Output = Input - 10 - 2 * (number of pairs before the given input-output pair)

For example, let's find the output for an input of 27:
- The given input-output pairs have differences of -10, -12, -14, and -16. This means we have three pairs before the given input-output pair.
- Plugging in the values, we have: Output = 27 - 10 - 2 * 3 = 27 - 10 - 6 = 27 - 16 = 11.

Therefore, for an input of 27, the corresponding output is 11.