I need to find that intersection and I followed every step in the answer here: Parametrization for intersection of sphere and plane. $x^2+y^2+z^2=81$, $x+y+z=15$.
(the first method), I've plugged $z = -3x-2y$ in the sphere equation and got $$10\cdot\left(x+\frac{3}{10}y\right)^{2}+\frac{41}{10}y^{2}=1$$ So parametrization for that ellipse is $$\left(\frac{1}{\sqrt{10}}\cdot\cos(t)-\frac{3}{10}\cdot\sqrt{\frac{10}{41}}\cdot\sin(t),\sqrt{\frac{10}{41}}\cdot\sin(t)\right)$$ this is correct, but now if I set $$z(t) = -3\cdot\left(\frac{1}{\sqrt{10}}\cdot\cos(t)-\frac{3}{10}\cdot\sqrt{\frac{10}{41}}\cdot\sin(t)\right)-2\sqrt{\frac{10}{41}}\cdot\sin(t)$$ the parametrization $$(x(t),y(t),\underbrace{-3x(t)-2y(t)}_{z(t)})$$ is not on the sphere, I don't get what I did wrong, I'll be glad for some explanation why it's not correct.
Thank you all in advance!