- 11

- 0

**take home exam urgent latex help!!!**

hi! i don't know anything about latex, but i need pictures a matrix:

it is a tridiagonal matrix with (1-2lambda) on the main diagonal (except for the last row where it's 1-lambda) and lambdas above and below:

[(1-2*lambda) lambda 0 0 .................................. 0]

[lambda (1-2*lambda) lambda 0 0 .................... 0]

[ 0 lambda (1-2*lambda) lambda 0 ... 0 ]

[ 0 \ \ \ 0 ]

...

[ 0 ........................................... lambda (1-lambda)]

please help, can't focus on actual problems because of these silly things. any format will do: ,jpg, .png, .pdf, ... anything or just the latex code.