DO NOT USE WHERE HIGH PRECISION IS REQUIRED. USE AT YOUR OWN RISK.
The vertex of the parabola is at (h,k). The distance (p) from the focus to the vertex is the same as the the distance from the vertex to the directrix. The focus and the directix are equidistant from any point on the curve. Try different values of h, k and p to see their effect.