Hi

uandvare 2 direction vectors of the plane

A parametrization of the plane is

Substituting in the equation of the sphere gives

Discriminant is

It is positive for

Let

Then

You just have to substitute t and t' in the expression of x(t), y(t) and z(t)