No,spidey,its not zero...thats the second part.
@Karthik,I dont think its a projectile(frame of reference not being mentioned),so I'm not sure if you can use g...but your value for x is right.
@rhd...and lokeshsardana..the equation you gave is correct.
My doubt was:dy/dt=wacoswt...how to proceed from there...
I didnt think of integrating-stupid of me

.(not to mention I'm not good at it-just learning!!)
Btw,the answers you finally get are:Path:y=asinwx/u.
Distance:sqrt(9pi^2u^2/4w^2+a^2)
Thanks everyone!!