2.43 Generate sparse matrix for the tridiagonal representation of second difference operator in 1D
The second derivative is approximated by where is the grid spacing. Generate the matrix that represent this operator for where is the number of internal grid points on the line