Arc length: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 5: Line 5:
var plot = brd.createElement('functiongraph',[f]);
var plot = brd.createElement('functiongraph',[f]);


var sc = brd.createElement('curve',[[0],[0]]);
var sc = brd.createElement('curve',[[0,2],[0,2]]);
sc.updataDataArray = function() {
sc.updataDataArray = function() {
   var i;
   var i;
Line 24: Line 24:




brd.createElement('text',[-6,-3,function(){ return 'Length='; }]);
brd.createElement('text',[-6,-1,function(){ return 'Length='; }]);
</jsxgraph>
</jsxgraph>



Revision as of 12:49, 7 June 2009

The underlying JavaScript code