Trigonometric functions: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 7: Line 7:


<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', {boundingbox: [-3, 3, 3, -3]});
var ax = brd.createElement('line',[[0,0],[1,0]],{visible:false});
var ax = brd.createElement('line',[[0,0],[1,0]],{visible:false});
var ay = brd.createElement('line',[[0,0],[0,1]],{visible:false});
var ay = brd.createElement('line',[[0,0],[0,1]],{visible:false});

Revision as of 11:27, 31 January 2013

The well known trigonometric functions can be visualized on the circle of radius 1. See http://en.wikipedia.org/wiki/Trigonometric_functions for the definitions.

  • Tangent: [math]\displaystyle{ \tan x = \frac{\sin x}{\cos x} }[/math]
  • Cotangent: [math]\displaystyle{ \cot x = \frac{\cos x}{\sin x} }[/math]
  • Secant: [math]\displaystyle{ \sec x = \frac{1}{\cos x} }[/math]
  • Cosecant: [math]\displaystyle{ \csc x = \frac{1}{\sin x} }[/math]