- #1
dislect
- 166
- 0
Hi guys,
My boss gave me a riddle.
He says that you have a "black box" with a polynomial inside it like f(x)=a0+a1x+a2x^2+a3x^3 ...
you don't know the rank of it or the coefficients a0, a1, a2 ...
You do know:
all of the coefficients are positive
you get to input two x numbers and their f(x) value
How can you find all of the coefficients a0,a1,a2 ... and the rank?
Thanks !
My boss gave me a riddle.
He says that you have a "black box" with a polynomial inside it like f(x)=a0+a1x+a2x^2+a3x^3 ...
you don't know the rank of it or the coefficients a0, a1, a2 ...
You do know:
all of the coefficients are positive
you get to input two x numbers and their f(x) value
How can you find all of the coefficients a0,a1,a2 ... and the rank?
Thanks !