Tangent between two parametric curves
1 次查看(过去 30 天)
显示 更早的评论
Hello everyone, I want find the equation of the tangent line between two parametric curves an ellipse and a circumference. The parametric equations of these two curves are :
x1_circle = xo_centre + radius*cos(t1)
y1_circle = y1_centre + radius*sen(t1)
x1_ellipse = x1_centre + a*cos(t2)
y1_ellipse = y1_centre + b*sen(t2) where a=horizontal radius and b=vertical radius
Any ideas ? Thanks
2 个评论
John D'Errico
2017-11-17
编辑:John D'Errico
2017-11-17
I assume you mean sin, and not sen? There is no sen function in MATLAB.
Regardless, this is not difficult. Compute the equation of a tangent line to the ellipse at any value of the parameter t2.
Now, solve for a value of t2, such that the line intersects the circle at exactly one point. There will be two solutinos in general, as long as problem is not degenerate, like the ellipse is wholly contained inside the circle.
So what have you tried? If nothing, why not? This is not a MATLAB question, so far, but a request for someone to do the work for you.
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!