Correct option is (B) \(A \sin (\omega t + \frac \pi 3)\)
Let \(x = A \sin(\omega t + \phi)\)
Given at \(t = \frac T4, x = \frac A2\)
\(\therefore \frac A2 = A \sin(\omega\frac T4 + \phi)\)
\(\Rightarrow \frac 12 = \sin (\frac {2\pi}4 + \phi)\)
\(\Rightarrow \frac 12 = \sin (\frac {\pi}2 + \phi)\)
\(\Rightarrow \frac 12= \cos\phi\)
\(\Rightarrow \phi = \frac \pi 3\)
\(\therefore x = A \sin (\omega t + \frac \pi 3)\)