a: \(f\left(\dfrac{1}{2}\right)=\left(\dfrac{1}{2}\right)^2+\dfrac{1}{2}-2=\dfrac{1}{4}+\dfrac{1}{2}-2=\dfrac{3}{8}-2=\dfrac{3-16}{8}=-\dfrac{13}{8}\)
b: \(f\left(\sqrt{3}\right)=\dfrac{2\sqrt{3}}{\left(\sqrt{3}\right)^2+1}=\dfrac{2\sqrt{3}}{4}=\dfrac{\sqrt{3}}{2}\)