How to find the (x,y) coordinate of an intersection value
Show older comments
For the intersection value aijk, how do I find the (x,y) coordinate in PCi, PCj, and PCk (circle powers for i, j, and k respectively) that produce PCi=PCj=PCk (the value aijk)? Circle Power For 3 intersecting circles as in the plot, the Circle power will be at the point of intersection of all 3 chords (seen in image below).

clc
clear all
xCenterk = 5;
yCenterk = 2;
xCenteri = 5;
yCenteri = 5;
xCenterj = 3;
yCenterj = 3;
radiusk = 1.5;
radiusi = 2;
radiusj = 1.5;
theta = 0 : 0.01 : 2*pi;
x=0:.001:100;
y=0:.001:100;
%%%section my question is about
PCi= (x-xCenteri).^2+(y-yCenteri).^2-radiusi.^2;
PCj= (x-xCenterj).^2+(y-yCenterj).^2-radiusj.^2;
PCk= (x-xCenterk).^2+(y-yCenterk).^2-radiusk.^2;
aij=(intersect(PCi,PCj));
aik=(intersect(PCi,PCk));
aijk=intersect(aij,aik);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%plot for visual reference
xk = radiusk * cos(theta) + xCenterk;
yk = radiusk * sin(theta) + yCenterk;
xi = radiusi * cos(theta) + xCenteri;
yi = radiusi * sin(theta) + yCenteri;
xj = radiusj * cos(theta) + xCenterj;
yj = radiusj * sin(theta) + yCenterj;
plot(xk, yk,'b.',xi,yi,'r.',xj,yj,'c.');
hold on
axis equal;
Accepted Answer
More Answers (0)
Categories
Find more on Power and Energy Systems in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!