Difference between revisions of "Lissajous curves"

From JSXGraph Wiki
Jump to navigationJump to search
Line 5: Line 5:
 
<jsxgraph board="brd" width="600" height="500">
 
<jsxgraph board="brd" width="600" height="500">
 
var brd = JXG.JSXGraph.initBoard('jxgbox',{axis:true,originX:300,originY:250,unitX:20,unitY:20});
 
var brd = JXG.JSXGraph.initBoard('jxgbox',{axis:true,originX:300,originY:250,unitX:20,unitY:20});
var a = brd.createElement('slider',[[2,8],[6,8],[0,1,4]]);
+
var a = brd.createElement('slider',[[2,8],[6,8],[0,1,4]]); brd.createElement('text',[1,8,'a']);
var b = brd.createElement('slider',[[2,7],[6,7],[0,1,4]]);
+
var b = brd.createElement('slider',[[2,7],[6,7],[0,1,4]]); brd.createElement('text',[1,7,'b']);
var A = brd.createElement('slider',[[2,6],[6,6],[0,1,4]]);
+
var A = brd.createElement('slider',[[2,6],[6,6],[0,1,4]]); brd.createElement('text',[1,6,'A']);
var B = brd.createElement('slider',[[2,5],[6,5],[0,1,4]]);
+
var B = brd.createElement('slider',[[2,5],[6,5],[0,1,4]]); brd.createElement('text',[1,5,'B']);
var delta = brd.createElement('slider',[[2,4],[6,4],[0,1,4]]);
+
var delta = brd.createElement('slider',[[2,4],[6,4],[0,1,4]]); brd.createElement('text',[1,4,'&delta;']);
 
</jsxgraph>
 
</jsxgraph>
 
[[Category:Examples]]
 
[[Category:Examples]]
 
[[Category:Curves]]
 
[[Category:Curves]]

Revision as of 12:15, 6 March 2009

Lissajous curve (Lissajous figure or Bowditch curve) is the graph of the system of parametric equations

[math]x=A\sin(at+\delta),\quad y=B\sin(bt),[/math]