sorry if i wasnt able to explain you okey so t is not used in calculsation its just represent port diameter in my code it represented by Rp=diameter /2. and the requirement is to find r_dot with respect to x which ranges from 0 to 4.5m as including zero will take the solution to infinity 0.381 was conisidered.
Thank you Torsten, I have understood the format of the code i need to put into. I think i need to check with the reference value. and reiterate it. Thank you for your prompt help.
Also can you how can i use ODE to solve the equation mentioned below?