Cosine: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 1: Line 1:
 
Geometrically, the cosine is a projection of the complex number exp(−ix) to the real axis. The behavior of the cosine function can be studied in the following interactive figure, where you can drag the point x and observe the behaviour of the complex number exp(−ix) and the value of cosine(x).
  <jsxgraph box="boxR" width="500" height="500">  
  <jsxgraph box="boxR" width="500" height="500">  
       var brd1 = JXG.JSXGraph.initBoard('boxR', {boundingbox: [-10, 1.5, 10, -1.5], axis:true});
       var brd1 = JXG.JSXGraph.initBoard('boxR', {boundingbox: [-10, 1.5, 10, -1.5], axis:true});
       var xr = brd1.create('line',[[-9,0],[9,0]],{visible:false});
       var xr = brd1.create('line',[[-9,0],[9,0]],{visible:false});

Revision as of 13:00, 6 March 2016

Geometrically, the cosine is a projection of the complex number exp(−ix) to the real axis. The behavior of the cosine function can be studied in the following interactive figure, where you can drag the point x and observe the behaviour of the complex number exp(−ix) and the value of cosine(x).