Difference between revisions of "Trigonometric functions"
From JSXGraph Wiki
Jump to navigationJump to searchA WASSERMANN (talk | contribs) |
A WASSERMANN (talk | contribs) |
||
Line 1: | Line 1: | ||
+ | The well known trigonometric functions can be visualized on the circle | ||
+ | of radius 1. | ||
+ | * <math>tan</math>: [] | ||
+ | * <math>sec</math>: [] | ||
+ | |||
<jsxgraph width="600" height="600" box="box"> | <jsxgraph width="600" height="600" box="box"> | ||
var brd = JXG.JSXGraph.initBoard('box', {originX: 300, originY: 300, grid:true, unitX: 100, unitY: 100}); | var brd = JXG.JSXGraph.initBoard('box', {originX: 300, originY: 300, grid:true, unitX: 100, unitY: 100}); | ||
Line 49: | Line 54: | ||
brd.createElement('text',[ | brd.createElement('text',[ | ||
− | function(){return -0. | + | function(){return -0.2+(p0.X()+p6.X())*0.5;}, |
function(){return (p0.Y()+p6.Y())*0.5;}, | function(){return (p0.Y()+p6.Y())*0.5;}, | ||
'csc'],{}); | 'csc'],{}); | ||
Line 57: | Line 62: | ||
function(){return (p0.Y()+p5.Y())*0.5;}, | function(){return (p0.Y()+p5.Y())*0.5;}, | ||
'sec'],{}); | 'sec'],{}); | ||
+ | </jsxgraph> | ||
− | |||
− | |||
− | |||
[[Category:Examples]] | [[Category:Examples]] | ||
[[Category:Geometry]] | [[Category:Geometry]] | ||
[[Category:Calculus]] | [[Category:Calculus]] |
Revision as of 18:21, 11 June 2009
The well known trigonometric functions can be visualized on the circle of radius 1.
- [math]tan[/math]: []
- [math]sec[/math]: []