Three touching circles: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 10: Line 10:
             function(){ var r1 = (C.Dist(A)-B.Dist(C)+A.Dist(B))/2.0;
             function(){ var r1 = (C.Dist(A)-B.Dist(C)+A.Dist(B))/2.0;
                         return r1; }
                         return r1; }
            ]);
    c2 = brd.create('circle', [B,
            function(){ return A.Dist(B)-c1.Radius(); }
            ]);
    c3 = brd.create('circle', [C,
            function(){ return B.Dist(C)-c2.Radius(); }
             ]);
             ]);



Revision as of 10:42, 8 November 2011