Trigonometric functions: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) 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'],{}); | ||