Given that the integer part of √ 5 is a and the decimal part is B, find the value of a (√ 5-b)

Given that the integer part of √ 5 is a and the decimal part is B, find the value of a (√ 5-b)

The integral part of √ 5 is a and the decimal part is B,
a=2,b=√5-2
a(√5-b)
=2[√5-(√5-2)]
=2(√5-√5+2)
=2×2
=4