đặt :
\(F\left(x\right)=\int_0^{x^2}f\left(t\right)dt=xsin\left(\pi x\right)\Leftrightarrow F\left(x^2\right)-F\left(0\right)=xsin\)
\(\left(\pi x\right)\Leftrightarrow F\left(x^2\right)=F\left(0\right)+xsin\left(\pi x\right)\)
lấy đạo hàm \(2\) vế , ta có :
\(\left(F\left(0\right)\right)'=sin\left(\pi x\right)+\pi xcos\left(\pi x\right)+\left(F\left(0\right)\right)'\)
\(\Leftrightarrow2xf\left(x^2\right)=sin\left(\pi x\right)+\pi xcos\left(\pi x\right)\)
thay \(x=2\) , ta có :
\(2.2.f\left(4\right)=sin\left(2\pi\right)+2\pi cos\left(2\pi\right)\Leftrightarrow4f\left(4\right)=2\pi\Leftrightarrow f\left(4\right)=\dfrac{\pi}{2}\)