I have plotted two equations. How to get their intersection point?.......Thanks

3 ビュー (過去 30 日間)
Maruti Patil
Maruti Patil 2015 年 9 月 4 日
コメント済み: Walter Roberson 2015 年 9 月 9 日
ezplot('y-x^2+2.5*x=0');
ezplot('(x-5)^2+(y-3)^2=4');
I have plotted above two equations and I want the exact coordinates of intersection point how to do it?
  1 件のコメント
Walter Roberson
Walter Roberson 2015 年 9 月 9 日
Are you sure you need the exact coordinates? Because for example one of the x coordinates of the 4 intersections is
x = (1/12) * (3^(1/2) * ((592325 + 720 * 19385^(1/2))^(2/3) + 65 * (592325 + 720 * 19385^(1/2))^(1/3) + 6985)^(3/4) + 15 * (592325 + 720 * 19385^(1/2))^(1/6) * ((592325 + 720 * 19385^(1/2))^(2/3) + 65 * (592325 + 720 * 19385^(1/2))^(1/3) + 6985)^(1/4) - 3^(1/2) * (-((592325 + 720*19385^(1/2))^(2/3) + 65*(592325 + 720*19385^(1/2))^(1/3) + 6985)^(1/2)*(592325 + 720*19385^(1/2))^(2/3) + 130*(592325 + 720*19385^(1/2))^(1/3)*((592325 + 720*19385^(1/2))^(2/3) + 65*(592325 + 720*19385^(1/2))^(1/3) + 6985)^(1/2) + 360*3^(1/2)*(592325 + 720*19385^(1/2))^(1/2)-6985*((592325 + 720*19385^(1/2))^(2/3) + 65*(592325 + 720*19385^(1/2))^(1/3) + 6985)^(1/2))^(1/2))/((592325 + 720*19385^(1/2))^(1/6)*((592325 + 720*19385^(1/2))^(2/3) + 65*(592325 + 720*19385^(1/2))^(1/3) + 6985)^(1/4))
and the corresponding y is at least twice as long.

サインインしてコメントする。

回答 (1 件)

Doug Hull
Doug Hull 2015 年 9 月 9 日
The cheap way to do this is to plot both and zoom in.
ezplot('(x-5)^2+(y-3)^2=4');
hold on
ezplot('y-x^2+2.5*x=0');
This all depends on what you mean by "exact".
The right answer is more along these lines:

カテゴリ

Help Center および File ExchangeVisual Exploration についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by