Does it exist any function for this diagram?

Does it exist any function for this diagram?

if x = 1,2,3 => f(x) = 10 -x
if x = 5,6,7 => f(x) = 11 -x
if x = 9,... => f(x) = 12 -x
.
.
.
and so on...

>plot points and find trend line is it really that hard?

y = -0.0015x^6 + 0.044x^5 - 0.503x^4 + 2.7798x^3 - 7.6205x^2 + 8.6762x + 5.625
R2 = 1

Mate, I'm looking for an unique function, could be a sum of functions then?, I don't know how to restrict for 4 multipliers in an unique expression

Function is required, not graphical solution is required

isn't correct

My guess is picking a polynomial that's equal to 0 when x = 1,2,3, , 1 when x=5,6,7 and 2 when x=9. I' ll note it g(x)

f(x)= 10-x + g(x)

Why you faggots doing this faggots homework

That is a valid unique function. Be more specific on what you need.

almost
how do you do something like this?

polynomial interpolation. look it up

when "x" equals to 4, or a 4 multiplier, "y" is zero

"y" for 4x (multipliers) doesn't exist

...

isn't homework, I'm looking for one of the three functions that are necessary to sum a new function of a bank interest applied, in this exceptional case capital and interest are not constant (any of them), and interest not apply in payment number 4, 8, 12, and so forth

I'm going to add it to the mathematical modeling, thanks

You just posted it, retard.

Learn what a function is.

XOXO

>function R in R when it is clearly a finite subset of N in N

These are the niggers who shit on CS majors.

Yeah but it could at least give you an idea of what you should be looking for

There are an infinite number of functions that fit any set of data points.

f = {1, 9}, {2, 8}, {3, 7}, {5, 6}, {6, 5}, {7, 4}, {9, 3}

>Curly braces for tuples
>Fucking nothing for sets
Dumb bitch.

Polynomial regression
I'm closer - y = -0.00118598 x^3 + 0.0340942 x^2 - 0.981842 x + 9.87571

Those are sets. No need to enclose them in an additional braces (Not curly braces. All braces are curly. You meant curly BRACKETS.) because I'm delimiting them with commas.

[math]y = 10 + \left \lfloor x / 4 \right \rfloor - x[/math]

spotted the engineer

that IS a function

You don't know how functions work either.

Surprised I had to go this far down to see this

f(x) = (9+⌊x/3⌋)-x

You missed this one

so he's right?

y=10-x

no, not only is he wrong but he doesn't know how to use his tools properly
he's an engineer of the purist form

Just use Lagrange interpolation

omg there are people here unironically giving smooth function answers to this

This

so what do you say is Y when X is 9?

You've defined it.
Do you know what a function is?

So?

Literally {(1,9), (2,8), (3,7), (5,6), (6,5), (7,4), (9,3)}.
Are you dumb?

f(x) = 9sin(infinity)x