Say the amount of money I have at day $0$ is $M_0$. Over the course of $N$ days, I want to spend an equal amount of money $f$ each day such that at the end of the $N$ days, I have $0$ left. However, each day after I spent my money, I loose a certain amount $x$ of money. What is the value of $f$ ?
The case $x=0$ is already taken care, so let us consider that $x\neq 0$
We can write a sequence corresponding to our problem:
-day $0$: $M_0$
-day $1$: $M_1 = (M_0-f) - x(M_0-f) = (1-x)(M_0-f)$
-...
-day $N$: $M_N = (1-x)(M_{N-1}-f) = (1-x)M_{N-1} - f(1-x)$
This sequence can be solved and we find:
\begin{equation}
M_N = M_0(1-x)^N + f \frac{1-x}{x}[(1-x)^N - 1].
\end{equation}
At the end of the
$N$ days, we want
$M_N=0$, such that it can be solved for
$f$, we have:
\begin{equation}
f=-M_0 \frac{x(1-x)^{N-1}}{(1-x)^N - 1}
\end{equation}
If the money is taken before we can spend some, the sequence is a little bit modified:
-day $0$: $M_0$
-day $1$: $M_1 = (1-x)M_0 - f$
-...
-day $N$: $M_N = (1-x)M_{N-1} - f$
Again solving the sequence gives:
\begin{equation}
M_N = M_0(1-x)^N + f \frac{1}{x}[(1-x)^N - 1].
\end{equation}
At the end of the
$N$ days, we want
$M_N=0$, such that it can be solved for
$f$, we have:
\begin{equation}
f=-M_0 \frac{x(1-x)^{N}}{(1-x)^N - 1}
\end{equation}
For the specific example asked, we have $N=10$, $x=1.25\%$ and $M_0=100$, we can compute:
\begin{align}
f_{after} \approx 9.4435\\
f_{before} \approx 9.3255
\end{align}