I'm given the following: [I_N – (N+1)^2]*B_N = V_N where N ≥ 3, I_N is and N x N identify matrix, B_N is the N x N matrix with (i,j)-th entry
B_N (i, j) =0 if |i − j| > 1−1 if |i − j| = 12 if |i − j| = 01<= i,j <= N
V_N is given and U_N is unknown. How would I right a function that sets up the B_N piece-wise and solved the linear system?
Best Answer