Conic sections in polar form: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 13: Line 13:
var q = brd.createElement('glider', [f], {style:6,name:'G'});  
var q = brd.createElement('glider', [f], {style:6,name:'G'});  
brd.createElement('tangent', [q], {dash:3});  
brd.createElement('tangent', [q], {dash:3});  
brd.addHook(function(){$('ausgabe').innerHTML = (p.Value()).tofixed(1) + "/(1 - (" + (eps.Value()).tofixed(1) + ")*cos(φ+"+(rho.Value()).toFixed(1) +"))";});
brd.addHook(function(){$('ausgabe').innerHTML = (p.Value()).toFixed(1) + "/(1 - (" + (eps.Value()).toFixed(1) + ")*cos(φ+"+(rho.Value()).toFixed(1) +"))";});
</jsxgraph>
</jsxgraph>



Revision as of 17:28, 10 March 2009

The equation of the curve is

[math]\displaystyle{ \, r = \frac{p}{1-\epsilon\cdot cos(\phi+\rho)}; }[/math]