Predicting maximal strength: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 12: | Line 12: | ||
); | ); | ||
var r = brd.createElement('glider',[10,1,c],{name:''}); | var r = brd.createElement('glider',[10,1,c],{name:'',fillColor:'black',strokeColor:'black'}); | ||
var t = brd.createElement('text',[function(){return r.X();}, | var t = brd.createElement('text',[function(){return r.X()+1;}, | ||
function(){return r.Y();}, | function(){return r.Y();}, | ||
function(){return "repetitions = " + Math.floor(r.X());}]); | function(){return "repetitions = " + Math.floor(r.X());}]); | ||
</jsxgraph> | </jsxgraph> |