Some recommendations as you are a beginner
1. It is better to use StandardForm rather then Traditional form. This way there is no ambiguity in mathematical expressions.
2. Mathematica cannot figure out the dotted format. Use D[R[t],t]
3. Do not use subscript for variables names, so use Rmax instead
look at the attached notebook
Attachment: filedownload.nb, URL: ,