Hi

I generally have problems in calculating the matrices in the finite element method.eg

$\displaystyle \phi(x)=1-\left |x\right| if \left|x\right|\le1$

$\displaystyle \phi(x)=0 if \left |x\right|> 1$

$\displaystyle \phi_{j}(x)=\phi(\frac{x-x_{j}}{h}) where 0\le j \le n+1$

$\displaystyle K_{h}=(\int_0^1\phi_{j}^{\prime}(x)\phi^{\prime}_{ i}(x)dx)_{1\le i,j \le n}$

how to calculate the matrix $\displaystyle K_{h}$?

thanks