Concept:
- Fundamental theorem of calculus: if \(A(\beta)=\displaystyle\int_{\pi/4}^{\beta}f(x)\,dx\) with \(f\) continuous, then \(A'(\beta)=f(\beta)\).
- Product rule: \(\dfrac{d}{d\beta}\big(\beta\sin\beta\big)=\sin\beta+\beta\cos\beta\).
Step 1: Write the area as an integral
Since \(f\) is non-negative, the area bounded by \(y=f(x)\), the \(x\)-axis and the two ordinates is the integral: \[ \int_{\pi/4}^{\beta}f(x)\,dx=\beta\sin\beta+\frac{\pi}{4}\cos\beta+\sqrt2\,\beta . \]
Step 2: Differentiate with respect to the upper limit
By the fundamental theorem of calculus, \[ f(\beta)=\sin\beta+\beta\cos\beta-\frac{\pi}{4}\sin\beta+\sqrt2 . \]
Step 3: Evaluate at the required point
Put \(\beta=\dfrac{\pi}{2}\), where \(\sin\beta=1\) and \(\cos\beta=0\): \[ f\left(\frac{\pi}{2}\right)=1+0-\frac{\pi}{4}+\sqrt2=1-\frac{\pi}{4}+\sqrt2 . \] The other expressions differ in signs: \(\dfrac{\pi}{4}+\sqrt2-1\) and \(\dfrac{\pi}{4}-\sqrt2+1\) have \(+\dfrac{\pi}{4}\), which would need the derivative of \(\dfrac{\pi}{4}\cos\beta\) to be positive, and \(1-\dfrac{\pi}{4}-\sqrt2\) gets the sign of the derivative of \(\sqrt2\,\beta\) wrong.
Step 4: Conclusion
\(f\left(\dfrac{\pi}{2}\right)=1-\dfrac{\pi}{4}+\sqrt2\). Hence, the correct option is (D), \(\left(1-\dfrac{\pi}{4}+\sqrt2\right)\).