Inverse sinc function?

Is there a code to find the inverse sinc function?

sinc(x) = sin(x)/x

Doesn’t seem like it would be well defined. For a given y, there could be many x’s. You’d have to specify a neighborhood of x.

I think you can have access to Sinc function by loading Numpy library.

I use a law in this page, it give an approximate result by solving the equation and find x

This is the best solution i found right now


This is another way with better precision (≈100%)

I will try to make it as python code if this is possible