In this article, based on analysis of three turning angles algorithm of cubic spline interpolation, the cubic spline interpolation is generalized on the condition of the second boundary. The methods are presented on the condition that the second derivative of arbitrary two nodes is given. At the end of the article, this cal- culation method is illustrated through an example.