I have the following boundary value problem:
$$-(\alpha u')' + \gamma u = f $$
in $\Omega = (a,b)$ with b.c. $u(a) = u(b) = 0$
and $\alpha > 0, \gamma ≥ 0$ and $f:(a,b) \to \Re $
The weak formulation I got is
$$ \int_a^b \alpha u' v' + \int_a^b \gamma uv = \int_a^b fv~~~~~\forall v\in V=H^1_0(a,b)$$
Then to discretize this, using Galerkin's method
$$ find~~u_h \in V_h:a(u_h,v_h)=F(v_h)~~~\forall v \in V_h \subset V $$
And define $V_h$ as
$$V_h = \Big\{ v_h \in X^1_h:v_h(a)=v_h(b)=0\Big\} $$
So I have a basis $ \phi_i(x) = \cases{ \frac{x-x_{i-1}}{x_i-x_{i-1}},~~~~x_{i-1} ≤ x ≤ x_i \cr \cr \frac{x_{i+1}-x}{x_{i+1}-x_i},~~~~x_i ≤ x ≤ x_{i+1} \cr \cr 0,~~~~~~~~~~~~otherwise}$
Now after all this, how can I build the problem in the form $Au = f$ ?? I'm really confused when trying to do this, can someone explain to me in a clearly and basic way, it's the first time I see FEM. If you have a link to any reference (books, pdfs, videos) that can help would be perfect.