so for any question we can solve in general method this method is not necessary
Alka gupta
t is scalar and r is vector.....so obviously all the constant are vectors....no need to replace ....simple integrate , introduce constants, apply initial condition and find the val...