Difference between revisions of "Conic sections in polar form"

From JSXGraph Wiki
Jump to: navigation, search
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 19:28, 10 March 2009

The equation of the curve is

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