+0

0
305
3

X and Y are natural numbers.

X = 1; Y = 1

X = 2; Y = 2

X = 3; Y = 3

X = 4; Y = 4

X = 5; Y = 3

X = 6; Y = 2

X = 7; Y = 1

X = 8; Y = 0

How do I express this with a formula? Please, help me!

Dec 5, 2017
edited by Guest  Dec 5, 2017

#2
+7350
+1

Could it be this?

y  =  - | x - 4 | + 4     , where  x  is an integer in the interval  [1, 8]

Dec 5, 2017
edited by hectictar  Dec 5, 2017

#1
+98044
+1

I don't know that this can be expressed as a single function....but....as a piecewise "function"  we might try this

y  =  x          1 ≤ x ≤ 4     where x  is an integer

y  =  -x + 8     5 ≤ x ≤ 8    where x is an integer

Dec 5, 2017
#2
+7350
+1

Could it be this?

y  =  - | x - 4 | + 4     , where  x  is an integer in the interval  [1, 8]

hectictar Dec 5, 2017
edited by hectictar  Dec 5, 2017
#3
+21819
+1

X and Y are natural numbers.

X = 1; Y = 1

X = 2; Y = 2

X = 3; Y = 3

X = 4; Y = 4

X = 5; Y = 3

X = 6; Y = 2

X = 7; Y = 1

X = 8; Y = 0

How do I express this with a formula?

$$\begin{array}{|rcll|} \hline Y = \min(X,8-X) \\ \hline \end{array}$$

Dec 6, 2017