Thank you all for addressing the question.
I am doing the same thing suggested by all of you, the issue is after taking the shot, everything looks good on the camera LCD, but after going home, when the same images are seen on the big monitor, train looks blur.
I hope you understand its not possible to go back to home after taking every shot and see the result immediately. I’ll have to rely upon the calculations, so that we can simply go there, wait for the train to come, shoot with calculated settings, and get the desired shot. That is why I mentioned train’s estimated speed and the distance between tripod and railway.