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

22 Solutions

5 Solvers

Last Solution submitted on Nov 30, 2025

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...