Difference between revisions of "Tschirnhausen Cubic Catacaustic"

From JSXGraph Wiki
Jump to navigationJump to search
Line 17: Line 17:
 
             ],
 
             ],
 
             {strokeWidth:1, strokeColor:'black'});
 
             {strokeWidth:1, strokeColor:'black'});
 +
 +
var cataustic = brd.create('curve',
 +
                [function(t){ return a.Value()*6*(t*t-1);},
 +
                  function(t){ return a.Value()*4*t*t*t;},
 +
                -2, 2
 +
                ],
 +
                {strokeWidth:1, strokeColor:'red'});
 +
 
brd.unsuspendUpdate();
 
brd.unsuspendUpdate();
 
})();
 
})();

Revision as of 11:52, 13 January 2011

A semicubical parabola is a curve defined parametrically as

[math] x = t^2 [/math]
[math] y = at^3 [/math]

References

The underlying JavaScript code