Tangent between two parametric curves
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
John D'Errico
il 17 Nov 2017
Modificato: John D'Errico
il 17 Nov 2017
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.
Risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!