Arc length: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) 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,- | brd.createElement('text',[-6,-1,function(){ return 'Length='; }]); | ||
</jsxgraph> | </jsxgraph> | ||