Difference between revisions of "Trigonometric functions"

From JSXGraph Wiki
Jump to navigationJump to search
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 18: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]\tan x = \frac{\sin x}{\cos x}[/math]
  • Cotangent: [math]\cot x = \frac{\cos x}{\sin x}[/math]
  • Secant: [math]\sec x = \frac{1}{\cos x}[/math]
  • Cosecant: [math]\csc x = \frac{1}{\sin x}[/math]