Difference between revisions of "Five Circle Theorem"

From JSXGraph Wiki
Jump to navigationJump to search
Line 19: Line 19:
 
l[4] = brd.createElement('segment',[p[4],p[0]],{});
 
l[4] = brd.createElement('segment',[p[4],p[0]],{});
  
i[0] = brd.createElement('point',[brd.intersection(l[0],l[2],0)],{});
+
i[0] = brd.createElement('point',[brd.intersection(l[0],l[2],0)],{name:''});
i[1] = brd.createElement('point',[brd.intersection(l[1],l[3],0)],{});
+
i[1] = brd.createElement('point',[brd.intersection(l[1],l[3],0)],{name:''});
i[2] = brd.createElement('point',[brd.intersection(l[2],l[4],0)],{});
+
i[2] = brd.createElement('point',[brd.intersection(l[2],l[4],0)],{name:''});
i[3] = brd.createElement('point',[brd.intersection(l[3],l[0],0)],{});
+
i[3] = brd.createElement('point',[brd.intersection(l[3],l[0],0)],{name:''});
i[4] = brd.createElement('point',[brd.intersection(l[4],l[1],0)],{});
+
i[4] = brd.createElement('point',[brd.intersection(l[4],l[1],0)],{name:''});
  
 
c[0] = brd.createElement('circumcircle',[p[0],i[0],i[2]],{});
 
c[0] = brd.createElement('circumcircle',[p[0],i[0],i[2]],{});
Line 34: Line 34:
 
   c[k][0].setProperty({visible:false});
 
   c[k][0].setProperty({visible:false});
 
   l[k].setProperty({strokeColor:'gray',strokeWidth:1});
 
   l[k].setProperty({strokeColor:'gray',strokeWidth:1});
  i[k].setProperty({showLabel:false});
 
 
}
 
}
  
Line 43: Line 42:
 
j[4] = brd.createElement('point',[brd.intersection(c[4][1],c[2][1],1)],{style:8});
 
j[4] = brd.createElement('point',[brd.intersection(c[4][1],c[2][1],1)],{style:8});
  
brd.createElement('circumcircle',[j[0],j[2],j[3]],{strokeColor:'red'});
+
cc = brd.createElement('circumcircle',[j[0],j[2],j[3]],{strokeColor:'red'});
 +
cc.setProperty({strokeColor:'red',strokeWidth:2});
  
  
 
</jsxgraph>
 
</jsxgraph>

Revision as of 21:33, 16 September 2009