Derivation of Centripetal Acceleration
This is one of those things that most students often do not see it ever derived. The formula just appears in a textbook.

Consider the diagram below:

The object wants to move in a straight line from A to C and that distance is given by vt.

The object is also falling, in that time, a distance of 1/2 at2 (a =2d/t2)

The motion from C to D, always directed towards the center, is the one we need to describe. Lets call the distance from C to D, x. With reference to the diagram above, the three relevant distances are:

So, courtesy of Phythagoras, we know that

R2 + (vt)2 = (R+x)2

R2 + (vt)2 = R2 +2Rx + x2

(vt)2 = x(2R+x)

If the time interval is very short then x << R, therefore

(vt)2 = 2xR or x = 1/2(v2/R)t2

(v2/R) = 2x/t2 = a