Predicting maximal strength: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 5: Line 5:


var w = brd.createElement('slider',[[24,0.92],[24,1.7],[0,50,200]],{name:'weight',snapWidth:1});
var w = brd.createElement('slider',[[24,0.92],[24,1.7],[0,50,200]],{name:'weight',snapWidth:1});
f = function(x){ return (0.988+0.0104*x+0.00190*x*x-0.0000584*x*x*x); };


var c = brd.createElement('functiongraph',[
var c = brd.createElement('functiongraph',[
             function(x){return (0.988+0.0104*x+0.00190*x*x-0.0000584*x*x*x);},
             f,
             0,22
             0,22
             ], {strokeColor:'black', highlightStrokeColor:'black'}
             ], {strokeColor:'black', highlightStrokeColor:'black'}
Line 16: Line 18:
                                   function(){return r.Y();},  
                                   function(){return r.Y();},  
                                   function(){return "repetitions = " + Math.floor(r.X());}]);
                                   function(){return "repetitions = " + Math.floor(r.X());}]);
brd.createElement('text',[10,1.7,
                          function(){return "predicted 1RM = " + w.Value();}]);


</jsxgraph>
</jsxgraph>

Revision as of 13:24, 13 August 2009