Trigonometric functions: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 25: Line 25:
var p5 = brd.createElement('point',[brd.intersectionFunc(t,ax,0)],{visible:false,name:'',withLabel:false});
var p5 = brd.createElement('point',[brd.intersectionFunc(t,ax,0)],{visible:false,name:'',withLabel:false});
var p6 = brd.createElement('point',[brd.intersectionFunc(t,ay,0)],{visible:false,name:'',withLabel:false});
var p6 = brd.createElement('point',[brd.intersectionFunc(t,ay,0)],{visible:false,name:'',withLabel:false});
brd.createElement('line',[p5,p6],{straightFirst:false,straightLast:false});                      // tan + cot
brd.createElement('line',[p5,p6],{straightFirst:false,straightLast:false,withLabel:false});                      // tan + cot


brd.createElement('line',[p0,p6],{straightFirst:false,straightLast:false,strokeColor:'green',withLabel:false});  // csc
brd.createElement('line',[p0,p6],{straightFirst:false,straightLast:false,strokeColor:'green',withLabel:false});  // csc

Revision as of 16:55, 22 June 2009

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]