Trigonometric functions: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 6: Line 6:
var p2 = brd.createElement('glider',[0.4,1.0,c],{});
var p2 = brd.createElement('glider',[0.4,1.0,c],{});
var p3 = brd.createElement('point',[function(){return p2.X();},0.0],{});
var p3 = brd.createElement('point',[function(){return p2.X();},0.0],{});
var p4 = brd.createElement('point',[0.0,function(){return p2.Y();}],{});
brd.createElement('line',[p0,p2],{straightFirst:false,straightLast:false});
brd.createElement('line',[p2,p3],{straightFirst:false,straightLast:false});
brd.createElement('line',[p2,p4],{straightFirst:false,straightLast:false});
brd.createElement('tangent',[p2],{});


</jsxgraph>
</jsxgraph>

Revision as of 15:52, 11 June 2009