Problem 52973. Easy Sequences 45: Second Derivative of Inverse Polynomial Function
The inverse of a function
, is the function
, that reverses f. That means that if
, then
. For example, the function to convert celsius temperature to fahrenheit is:
, the inverse function (convert from fahrenheit to celsius) is:
. So that,
and
.
Given a polynomial function P (presented as vector of numbers), and a value n, if
, write a program that evaluates
, where
.
For example, if
, and
, then
and
. Therefore
.
NOTE: It is possible for
to return some complex numbers. We are interested only with real values, so in cases where there are no real
, please output an empty vector. Also please round-off your output to 4 decimal places, and sorted in ascending order.
Solution Stats
Problem Comments
-
4 Comments
Show
1 older comment
Ramon Villamangca
on 1 Nov 2021
Hi William, I missed to write "0.0000" in the solution set of test #8. Sorry for that. Corrected it.
Please rate the problem. Thanks.
Tim
on 2 Nov 2021
For problem 8 I see only three real solutions--none that give R=0.0000.
Tim
on 4 Nov 2021
I see now--you want to round off R before testing for an imaginary part.
Solution Comments
Show commentsProblem Recent Solvers5
Suggested Problems
-
Project Euler: Problem 4, Palindromic numbers
1147 Solvers
-
839 Solvers
-
The Answer to Life, the Universe, and Everything
544 Solvers
-
334 Solvers
-
90 Solvers
More from this Author116
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!