find the smallest value of d (highest peg position) in order for the sphere to swing in a full circle centered on the peg.