I have the following series of equations ($n+2$ equations $n+2$ variables):
\begin{equation*} k_0q_0+\lambda q_0 + c_0 = 0, \\ k_1q_1+\lambda q_1 + c_1 = 0, \\ k_nq_n+\lambda q_n + c_n = 0, \\ q_1+q_2+....+q_n = 1. \end{equation*}
The variables are $q_0,q_1,.....,q_n$ and $\lambda$. Note that $k$ and $c$ are series of constants.
How can I solve this?
$\displaystyle q_i = \frac{-c_i}{k_i + \lambda}$
Substituting in the last equation gives us
$\displaystyle \sum_{i=1}^{n} \frac{-c_i}{k_i + \lambda} = 1$
which can be made into a polynomial equation in $\displaystyle \lambda$, which you should be able to solve by standard numerical methods.
Once you find a root of the above polynomial, substituting $\displaystyle \lambda$ with the value of the root in $\displaystyle q_i = \frac{-c_i}{k_i + \lambda}$ will give the other variables.