5加根号7的小数部分为a
a=√7-2
5减根号7的小数部分为b
b=(5-√7)-2=3-√7
ab+5b
=b(a+5)
=(3-√7)(√7-2+5)
=(3-√7)(3+√7)
=3^2-(√7)^2
=9-7
=2