What is the value of (n−2)2+n−1 when n=4?

Plug in n=4 into the given expression:

(n-2)^2 + n-1 = (4-2)^2 + 4-1
= 2^2 + 3
= 4 + 3
= 7

Therefore, when n=4, the value of (n-2)^2 + n-1 is 7.