If \( \Large a^{2}+b^{2}=24,\ ab=4 \) find the value of \( \Large \left(a-b\right) \)

A) 4

B) 6

C) 3

D) 2

Correct answer:
A) 4

Description for Correct answer:
\( \Large \left(a-b\right)^{2} = a^{2}+b^{2}-2ab \)

=\( \Large 24 - 2 \times 4 = 24 - 8 =16 \)

Therefore, \( \Large \left(a-b\right)^{2} = 16 \)

\( \Large a-b = \sqrt{16} = 4 \)


Please provide the error details in above question