Difference between revisions of "Trigonometric functions"

From JSXGraph Wiki
Jump to navigationJump to search
Line 37: Line 37:
 
         function(){return (p2.Y()+p3.Y())*0.5;},
 
         function(){return (p2.Y()+p3.Y())*0.5;},
 
         'sin'],{});
 
         'sin'],{});
 +
 +
brd.createElement('text',[
 +
        function(){return (p2.X()+p5.X())*0.5;},
 +
        function(){return (p2.Y()+p5.Y())*0.5;},
 +
        'tan'],{});
 +
 +
brd.createElement('text',[
 +
        function(){return (p2.X()+p6.X())*0.5;},
 +
        function(){return (p2.Y()+p6.Y())*0.5;},
 +
        'cot'],{});
 +
 +
brd.createElement('text',[
 +
        function(){return (p0.X()+p6.X())*0.5;},
 +
        function(){return (p0.Y()+p6.Y())*0.5;},
 +
        'csc'],{});
 +
 +
brd.createElement('text',[
 +
        function(){return (p0.X()+p5.X())*0.5;},
 +
        function(){return (p0.Y()+p5.Y())*0.5;},
 +
        'sec'],{});
 +
  
  

Revision as of 17:16, 11 June 2009