Finding the intersection of two circles
I am attempting to use pair intersectionpoints to find and label the intersection points of the circles defined by path h and path g. Thanks for the help.
documentclass{standalone}
usepackage{asypictureB}
begin{document}
begin{asypicture}{name=Label}
import olympiad;
size(7cm);
import graph;
pair A=(0,0);
dot(A);
label("$A$",A,W);
pair C=A+18dir(40);
dot(C);
label("$C$",C,N);
pair D=A+16dir(20);
dot(D);
label("$D$",D,SE);
pair e=A+9dir(20);
dot(e);
label("$E$",e,NE);
pair F=A+8dir(40);
dot(F);
label("$F$",F,W);
path g = circle(A,12);
draw(g);
path h = circumcircle(F,D,C);
pair intersectionpoints(path g, path h);
dot(point([0]);
dot(point([1]);
draw(A--C);
draw(A--D);
pair O=circumcenter(F,D,C); // olympiad - circumcenter
dot(O);
label("$O$",O,S);
draw(circumcircle(F,D,C)); // olympiad - circumcircle
end{asypicture}
end{document}
asymptote intersections
add a comment |
I am attempting to use pair intersectionpoints to find and label the intersection points of the circles defined by path h and path g. Thanks for the help.
documentclass{standalone}
usepackage{asypictureB}
begin{document}
begin{asypicture}{name=Label}
import olympiad;
size(7cm);
import graph;
pair A=(0,0);
dot(A);
label("$A$",A,W);
pair C=A+18dir(40);
dot(C);
label("$C$",C,N);
pair D=A+16dir(20);
dot(D);
label("$D$",D,SE);
pair e=A+9dir(20);
dot(e);
label("$E$",e,NE);
pair F=A+8dir(40);
dot(F);
label("$F$",F,W);
path g = circle(A,12);
draw(g);
path h = circumcircle(F,D,C);
pair intersectionpoints(path g, path h);
dot(point([0]);
dot(point([1]);
draw(A--C);
draw(A--D);
pair O=circumcenter(F,D,C); // olympiad - circumcenter
dot(O);
label("$O$",O,S);
draw(circumcircle(F,D,C)); // olympiad - circumcircle
end{asypicture}
end{document}
asymptote intersections
It think there shouldn't be abegin{asy}
afterbegin{asypicture}{name=Label}
andend{asy}
should beend{asypicture}
.
– marmot
8 hours ago
Thanks Marmot, I've made those edits. Still hasn't solved the problem of plotting the intersections.
– Ari Gass
8 hours ago
add a comment |
I am attempting to use pair intersectionpoints to find and label the intersection points of the circles defined by path h and path g. Thanks for the help.
documentclass{standalone}
usepackage{asypictureB}
begin{document}
begin{asypicture}{name=Label}
import olympiad;
size(7cm);
import graph;
pair A=(0,0);
dot(A);
label("$A$",A,W);
pair C=A+18dir(40);
dot(C);
label("$C$",C,N);
pair D=A+16dir(20);
dot(D);
label("$D$",D,SE);
pair e=A+9dir(20);
dot(e);
label("$E$",e,NE);
pair F=A+8dir(40);
dot(F);
label("$F$",F,W);
path g = circle(A,12);
draw(g);
path h = circumcircle(F,D,C);
pair intersectionpoints(path g, path h);
dot(point([0]);
dot(point([1]);
draw(A--C);
draw(A--D);
pair O=circumcenter(F,D,C); // olympiad - circumcenter
dot(O);
label("$O$",O,S);
draw(circumcircle(F,D,C)); // olympiad - circumcircle
end{asypicture}
end{document}
asymptote intersections
I am attempting to use pair intersectionpoints to find and label the intersection points of the circles defined by path h and path g. Thanks for the help.
documentclass{standalone}
usepackage{asypictureB}
begin{document}
begin{asypicture}{name=Label}
import olympiad;
size(7cm);
import graph;
pair A=(0,0);
dot(A);
label("$A$",A,W);
pair C=A+18dir(40);
dot(C);
label("$C$",C,N);
pair D=A+16dir(20);
dot(D);
label("$D$",D,SE);
pair e=A+9dir(20);
dot(e);
label("$E$",e,NE);
pair F=A+8dir(40);
dot(F);
label("$F$",F,W);
path g = circle(A,12);
draw(g);
path h = circumcircle(F,D,C);
pair intersectionpoints(path g, path h);
dot(point([0]);
dot(point([1]);
draw(A--C);
draw(A--D);
pair O=circumcenter(F,D,C); // olympiad - circumcenter
dot(O);
label("$O$",O,S);
draw(circumcircle(F,D,C)); // olympiad - circumcircle
end{asypicture}
end{document}
asymptote intersections
asymptote intersections
edited 8 hours ago
Ari Gass
asked 8 hours ago
Ari GassAri Gass
254
254
It think there shouldn't be abegin{asy}
afterbegin{asypicture}{name=Label}
andend{asy}
should beend{asypicture}
.
– marmot
8 hours ago
Thanks Marmot, I've made those edits. Still hasn't solved the problem of plotting the intersections.
– Ari Gass
8 hours ago
add a comment |
It think there shouldn't be abegin{asy}
afterbegin{asypicture}{name=Label}
andend{asy}
should beend{asypicture}
.
– marmot
8 hours ago
Thanks Marmot, I've made those edits. Still hasn't solved the problem of plotting the intersections.
– Ari Gass
8 hours ago
It think there shouldn't be a
begin{asy}
after begin{asypicture}{name=Label}
and end{asy}
should be end{asypicture}
.– marmot
8 hours ago
It think there shouldn't be a
begin{asy}
after begin{asypicture}{name=Label}
and end{asy}
should be end{asypicture}
.– marmot
8 hours ago
Thanks Marmot, I've made those edits. Still hasn't solved the problem of plotting the intersections.
– Ari Gass
8 hours ago
Thanks Marmot, I've made those edits. Still hasn't solved the problem of plotting the intersections.
– Ari Gass
8 hours ago
add a comment |
1 Answer
1
active
oldest
votes
After downloading opympiad.asy
from this web site, it was easy. I guess you have misinterpreted the statement in this nice tutorial a bit, so I adjusted pair intersectionpoints(path g, path h);
a bit and removed other syntax errors to get
documentclass{standalone}
usepackage{asypictureB}
begin{document}
begin{asypicture}{name=Label}
import olympiad;
size(7cm);
import graph;
pair A=(0,0);
dot(A);
label("$A$",A,W);
pair C=A+18*dir(40);
dot(C);
label("$C$",C,N);
pair D=A+16*dir(20);
dot(D);
label("$D$",D,SE);
pair e=A+9*dir(20);
dot(e);
label("$E$",e,NE);
pair F=A+8*dir(40);
dot(F);
label("$F$",F,W);
path g = circle(A,12);
draw(g);
path h = circumcircle(F,D,C);
pair ipoints = intersectionpoints(g,h);
dot(ipoints[0]);
dot(ipoints[1]);
draw(A--C);
draw(A--D);
pair O=circumcenter(F,D,C); // olympiad - circumcenter
dot(O);
label("$O$",O,S);
draw(h); // olympiad - circumcircle
end{asypicture}
end{document}
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483865%2ffinding-the-intersection-of-two-circles%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
After downloading opympiad.asy
from this web site, it was easy. I guess you have misinterpreted the statement in this nice tutorial a bit, so I adjusted pair intersectionpoints(path g, path h);
a bit and removed other syntax errors to get
documentclass{standalone}
usepackage{asypictureB}
begin{document}
begin{asypicture}{name=Label}
import olympiad;
size(7cm);
import graph;
pair A=(0,0);
dot(A);
label("$A$",A,W);
pair C=A+18*dir(40);
dot(C);
label("$C$",C,N);
pair D=A+16*dir(20);
dot(D);
label("$D$",D,SE);
pair e=A+9*dir(20);
dot(e);
label("$E$",e,NE);
pair F=A+8*dir(40);
dot(F);
label("$F$",F,W);
path g = circle(A,12);
draw(g);
path h = circumcircle(F,D,C);
pair ipoints = intersectionpoints(g,h);
dot(ipoints[0]);
dot(ipoints[1]);
draw(A--C);
draw(A--D);
pair O=circumcenter(F,D,C); // olympiad - circumcenter
dot(O);
label("$O$",O,S);
draw(h); // olympiad - circumcircle
end{asypicture}
end{document}
add a comment |
After downloading opympiad.asy
from this web site, it was easy. I guess you have misinterpreted the statement in this nice tutorial a bit, so I adjusted pair intersectionpoints(path g, path h);
a bit and removed other syntax errors to get
documentclass{standalone}
usepackage{asypictureB}
begin{document}
begin{asypicture}{name=Label}
import olympiad;
size(7cm);
import graph;
pair A=(0,0);
dot(A);
label("$A$",A,W);
pair C=A+18*dir(40);
dot(C);
label("$C$",C,N);
pair D=A+16*dir(20);
dot(D);
label("$D$",D,SE);
pair e=A+9*dir(20);
dot(e);
label("$E$",e,NE);
pair F=A+8*dir(40);
dot(F);
label("$F$",F,W);
path g = circle(A,12);
draw(g);
path h = circumcircle(F,D,C);
pair ipoints = intersectionpoints(g,h);
dot(ipoints[0]);
dot(ipoints[1]);
draw(A--C);
draw(A--D);
pair O=circumcenter(F,D,C); // olympiad - circumcenter
dot(O);
label("$O$",O,S);
draw(h); // olympiad - circumcircle
end{asypicture}
end{document}
add a comment |
After downloading opympiad.asy
from this web site, it was easy. I guess you have misinterpreted the statement in this nice tutorial a bit, so I adjusted pair intersectionpoints(path g, path h);
a bit and removed other syntax errors to get
documentclass{standalone}
usepackage{asypictureB}
begin{document}
begin{asypicture}{name=Label}
import olympiad;
size(7cm);
import graph;
pair A=(0,0);
dot(A);
label("$A$",A,W);
pair C=A+18*dir(40);
dot(C);
label("$C$",C,N);
pair D=A+16*dir(20);
dot(D);
label("$D$",D,SE);
pair e=A+9*dir(20);
dot(e);
label("$E$",e,NE);
pair F=A+8*dir(40);
dot(F);
label("$F$",F,W);
path g = circle(A,12);
draw(g);
path h = circumcircle(F,D,C);
pair ipoints = intersectionpoints(g,h);
dot(ipoints[0]);
dot(ipoints[1]);
draw(A--C);
draw(A--D);
pair O=circumcenter(F,D,C); // olympiad - circumcenter
dot(O);
label("$O$",O,S);
draw(h); // olympiad - circumcircle
end{asypicture}
end{document}
After downloading opympiad.asy
from this web site, it was easy. I guess you have misinterpreted the statement in this nice tutorial a bit, so I adjusted pair intersectionpoints(path g, path h);
a bit and removed other syntax errors to get
documentclass{standalone}
usepackage{asypictureB}
begin{document}
begin{asypicture}{name=Label}
import olympiad;
size(7cm);
import graph;
pair A=(0,0);
dot(A);
label("$A$",A,W);
pair C=A+18*dir(40);
dot(C);
label("$C$",C,N);
pair D=A+16*dir(20);
dot(D);
label("$D$",D,SE);
pair e=A+9*dir(20);
dot(e);
label("$E$",e,NE);
pair F=A+8*dir(40);
dot(F);
label("$F$",F,W);
path g = circle(A,12);
draw(g);
path h = circumcircle(F,D,C);
pair ipoints = intersectionpoints(g,h);
dot(ipoints[0]);
dot(ipoints[1]);
draw(A--C);
draw(A--D);
pair O=circumcenter(F,D,C); // olympiad - circumcenter
dot(O);
label("$O$",O,S);
draw(h); // olympiad - circumcircle
end{asypicture}
end{document}
edited 7 hours ago
answered 8 hours ago
marmotmarmot
116k5147277
116k5147277
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483865%2ffinding-the-intersection-of-two-circles%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
It think there shouldn't be a
begin{asy}
afterbegin{asypicture}{name=Label}
andend{asy}
should beend{asypicture}
.– marmot
8 hours ago
Thanks Marmot, I've made those edits. Still hasn't solved the problem of plotting the intersections.
– Ari Gass
8 hours ago