Difference between revisions of "Trigonometric functions"

From JSXGraph Wiki
Jump to navigationJump to search
Line 29: Line 29:
  
 
brd.createElement('text',[
 
brd.createElement('text',[
         function(){return (p0.X()+p4.X())*0.5;},
+
         function(){return (p2.X()+p4.X())*0.5;},
         function(){return (p0.Y()+p4.Y())*0.5;},
+
         function(){return (p2.Y()+p4.Y())*0.5;},
 
         'cos'],{});
 
         'cos'],{});
  
 +
brd.createElement('text',[
 +
        function(){return (p2.X()+p3.X())*0.5;},
 +
        function(){return (p2.Y()+p3.Y())*0.5;},
 +
        'sin'],{});
  
  

Revision as of 17:14, 11 June 2009