Finding the intersection of two circles












1















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}









share|improve this question

























  • 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
















1















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}









share|improve this question

























  • 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














1












1








1








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}









share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 8 hours ago







Ari Gass

















asked 8 hours ago









Ari GassAri Gass

254




254













  • 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



















  • 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

















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










1 Answer
1






active

oldest

votes


















2














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}


enter image description here






share|improve this answer


























    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
    });


    }
    });














    draft saved

    draft discarded


















    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









    2














    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}


    enter image description here






    share|improve this answer






























      2














      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}


      enter image description here






      share|improve this answer




























        2












        2








        2







        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}


        enter image description here






        share|improve this answer















        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}


        enter image description here







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 7 hours ago

























        answered 8 hours ago









        marmotmarmot

        116k5147277




        116k5147277






























            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks

            Calculate evaluation metrics using cross_val_predict sklearn

            Insert data from modal to MySQL (multiple modal on website)