Difference between revisions of "Predicting maximal strength"

From JSXGraph Wiki
Jump to navigationJump to search
Line 12: Line 12:
 
             );
 
             );
  
var p = brd.createElement('glider',[10,1,c],{name:'repetitions'});
+
var r = brd.createElement('glider',[10,1,c],{name:''});
 +
var t = brd.createElement('text',[function(){return r.X();},
 +
                                  function(){return r.Y();},
 +
                                  function(){return "repetitions = " + Math.floor(r.X());}]);
  
 
</jsxgraph>
 
</jsxgraph>

Revision as of 14:21, 13 August 2009