A particle moves such that its position vector r(t)=cosωti^+sinωtj^ where ω is a constant and t is time. Then which of the following statements is true for the velocity v(t) and acceleration a(t) of the particle:
a. v is perpendicular to r and a is directed away from the origin
b. v and a both are perpendicular to r
c. v and a both are parallel to r
d. v is perpendicular to r and a is directed towards the origin