Trigonometric functions: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 29: | Line 29: | ||
brd.createElement('text',[ | brd.createElement('text',[ | ||
function(){return ( | function(){return (p2.X()+p4.X())*0.5;}, | ||
function(){return ( | 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'],{}); | |||