- #1
johnkubik
- 15
- 0
Hey everyone!
If you have a table that has distinct values for each x,y pair how would you determine the x,y values from the table?
eg...
*table formatting is not working out for me, I am sure you can look at it and see what I was aiming for*
y
4 | 9 36 54 72 90
3 | 7 28 42 56 70
2 | 5 20 30 40 50
1 | 3 12 18 24 30
0 | 0 4 6 8 10
--------------------------------------------
0 - 1 - 2 - 3 - 4 - x
If I said... what is the x,y pairing of 70, how would you solve that mathematically?
The equation here is (x*2+2)(y*2+1)=z, right?
So, if you have z=70 you would have 4*x*y +2x+4y+2=70.
Understandably, there would be duplicate values if the table go larger (y=2, x=8, z=20 same as (y=2, x=1, z=20)... I am more so concerned with the set of numbers that is unique.
That being said: is it guess and check? Or do you HAVE to know 2 out of 3 (z and x, or z and y) of the variables?
If you have a table that has distinct values for each x,y pair how would you determine the x,y values from the table?
eg...
*table formatting is not working out for me, I am sure you can look at it and see what I was aiming for*
y
4 | 9 36 54 72 90
3 | 7 28 42 56 70
2 | 5 20 30 40 50
1 | 3 12 18 24 30
0 | 0 4 6 8 10
--------------------------------------------
0 - 1 - 2 - 3 - 4 - x
If I said... what is the x,y pairing of 70, how would you solve that mathematically?
The equation here is (x*2+2)(y*2+1)=z, right?
So, if you have z=70 you would have 4*x*y +2x+4y+2=70.
Understandably, there would be duplicate values if the table go larger (y=2, x=8, z=20 same as (y=2, x=1, z=20)... I am more so concerned with the set of numbers that is unique.
That being said: is it guess and check? Or do you HAVE to know 2 out of 3 (z and x, or z and y) of the variables?