# Difference between revisions of "Trigonometric functions"

From JSXGraph Wiki

Jump to navigationJump to searchA WASSERMANN (talk | contribs) |
A WASSERMANN (talk | contribs) |
||

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'],{}); | ||