Difference between revisions of "Trigonometric functions"

From JSXGraph Wiki
Jump to navigationJump to search
Line 22: Line 22:
 
brd.createElement('line',[p0,p6],{straightFirst:false,straightLast:false,strokeColor:'green'});
 
brd.createElement('line',[p0,p6],{straightFirst:false,straightLast:false,strokeColor:'green'});
 
brd.createElement('line',[p0,p5],{straightFirst:false,straightLast:false,strokeColor:'green'});
 
brd.createElement('line',[p0,p5],{straightFirst:false,straightLast:false,strokeColor:'green'});
 +
 +
brd.createElement('text',[
 +
        function(){return (p0.X()+p2.x())*0.5;},
 +
        function(){return (p0.X()+p2.x())*0.5;},
 +
        '1'],{});
  
  

Revision as of 17:11, 11 June 2009