Circle inversion: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<jsxgraph width="600" height="600"> | <jsxgraph width="600" height="600"> | ||
brd = JXG.JSXGraph.initBoard('jxgbox',{boundingbox:[-5,5,5,-5]}); | brd = JXG.JSXGraph.initBoard('jxgbox',{boundingbox:[-5,5,5,-5]}); | ||
m = brd.create('point',[0.5,0.3]); | var m = brd.create('point',[0.5,0.3]); | ||
b = brd.create('point',[3,0]); | var b = brd.create('point',[3,0]); | ||
c = brd.create('circle',[m,b]); | var c = brd.create('circle',[m,b]); | ||
p = brd.create('point',[-4,2]); | var p = brd.create('point',[-4,2]); | ||
// If p is not on c, the tangent is the polar. | // If p is not on c, the tangent is the polar. | ||
t = brd.create('tangent', [c,p], {name:'polar', withLabel:true, strokeColor:'gray'}); | 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}); | |||
</jsxgraph> | </jsxgraph> | ||