Do not post homework problems in the tutorials section!
Now, to help you along a bit, let I be the cone's base in the plane z=0, and let (X,Y) denote a point in I. Let the vertex have the coordinates: \vec{r}_{v}=(x_{v},y_{v},z_{v}).
Thus, any point within the cone will lie on some line segment from \vec{r}_{v} to a point (X,Y) in I, so we can therefore represent all points in the cone with the following function:
\vec{r}(X,Y,u)=(\vec{r}_{v}-(X,Y,0))u+(X,Y,0), 0\leq{u}\leq{1},(X,Y)\in{I}
\vec{r}(X,Y,u)\equiv(x(X,Y,u),y(X,Y,u),z(X,Y,u))
This should be useful to you.
In particular, remember that the x-coordinate to any given point in the cone is:
x(X,Y,u)=(x_{v}-X)u+X[/itex]<br />
and similar expressions for the y-and z-coordinates to anyone point in the cone.