Need the formula to find $x$ in the below equation.
$\frac{A_1}{(1+x)^{y_1}} + \frac{A_2}{(1+x)^{y_2}} + \frac{A_3}{(1+x)^{y_3}} + \cdots + \frac{A_n}{(1+x)^{y_n}} = 0\;(\mbox{or }0.0001)$
where $A_1,\dots,A_n$ can be any real numbers.
$y_1,\dots,y_n$ can be any numbers between 0 and 1 (including 0 and 1).