已知x²-5x-16=0,求(x-1)(2x-1)-(x+1)²+1的值解:∵x²-5x-16=0,∴x²-5x=16;故(x-1)(2x-1)-(x+1)²+1=2x²-3x+1-(x²+2x+1)+1=x²-5x+2=16+2=18.