Lissajous curves: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 10: Line 10:
var B = brd.createElement('slider',[[2,5],[6,5],[0,1,4]]); brd.createElement('text',[1,5,'B']);
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]]); brd.createElement('text',[1,4,'δ']);
var delta = brd.createElement('slider',[[2,4],[6,4],[0,1,4]]); brd.createElement('text',[1,4,'δ']);
var c = brd.createElement('curve',[
          function(t){return A.Value()*Math.sin(a.Value()*t+delta.Value());},
          function(t){return B.Value()*Math.sin(b.Value()*t);},
          0, 2*Math.PI]);
</jsxgraph>
</jsxgraph>
[[Category:Examples]]
[[Category:Examples]]
[[Category:Curves]]
[[Category:Curves]]

Revision as of 10:17, 6 March 2009

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

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