Semicubical parabola: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) (New page: A semicubical parabola is a curve defined parametrically as :<math> x = t^2 </math> :<math> y = at^3 </math> <jsxgraph width="600" height="600"> (function(){ var brd = JXG.JSXGraph.init...) |
(No difference)
|
Revision as of 09:31, 13 January 2011
A semicubical parabola is a curve defined parametrically as
- [math]\displaystyle{ x = t^2 }[/math]
- [math]\displaystyle{ y = at^3 }[/math]
References
The underlying JavaScript code
var brd = JXG.JSXGraph.initBoard('jxgbox',{boundingbox:[-1,2,3,-2], keepaspectratio:true});
brd.suspendUpdate();
var a = brd.create('slider',[[-1,1.8],[1,1.8],[-5,0.20,5]], {name:'a'});
var p = brd.create('curve',
[function(t){ return t*t;},
function(t){ return a.Value()*t*t*t;}
],
{strokeWidth:2, strokeColor:'black'});
brd.unsuspendUpdate();