Circle inversion: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
var b = brd.create('point',[3,0]); | var b = brd.create('point',[3,0]); | ||
var c = brd.create('circle',[m,b]); | var c = brd.create('circle',[m,b]); | ||
var p = brd.create('point',[-4,2]); | var p = brd.create('point',[-4,2],{name:'P'); | ||
// If p is not on c, the tangent is the polar. | // If p is not on c, the tangent is the polar. | ||
var t = brd.create('tangent', [c,p], {name:'polar', withLabel:true, strokeColor:'gray', dash:2}); | var t = brd.create('tangent', [c,p], {name:'polar', withLabel:true, strokeColor:'gray', dash:2}); | ||
var l = brd.create('line', [m,p], {name:'', withLabel:false, strokeColor:'gray', dash:2}); | var l = brd.create('line', [m,p], {name:'', withLabel:false, strokeColor:'gray', dash:2}); | ||
var s = brd.create('intersection', [l, | var s = brd.create('intersection', [l,t], {name:"P'", withLabel:true}); | ||
</jsxgraph> | </jsxgraph> | ||