Difference between revisions of "Arc length"

From JSXGraph Wiki
Jump to navigationJump to search
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 14:49, 7 June 2009

The underlying JavaScript code