Trigonometric functions: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 39: Line 39:


brd.createElement('text',[
brd.createElement('text',[
         function(){return (p2.X()+p5.X())*0.5;},
         function(){return 0.1+(p2.X()+p5.X())*0.5;},
         function(){return (p2.Y()+p5.Y())*0.5;},
         function(){return 0.1+(p2.Y()+p5.Y())*0.5;},
         'tan'],{});
         'tan'],{});


brd.createElement('text',[
brd.createElement('text',[
         function(){return (p2.X()+p6.X())*0.5;},
         function(){return 0.1+(p2.X()+p6.X())*0.5;},
         function(){return (p2.Y()+p6.Y())*0.5;},
         function(){return 0.1+(p2.Y()+p6.Y())*0.5;},
         'cot'],{});
         'cot'],{});



Revision as of 16:17, 11 June 2009