Predicting maximal strength: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<jsxgraph width= | <jsxgraph width=700 height=500> | ||
var brd = JXG.JSXGraph.initBoard('jxgbox',{boundingbox:[-1,1.6,24,0.8]}); | var brd = JXG.JSXGraph.initBoard('jxgbox',{boundingbox:[-1,1.6,24,0.8]}); | ||
bx = brd.createElement('axis', [[0,0.9], [1,0.9]], {}); | bx = brd.createElement('axis', [[0,0.9], [1,0.9]], {}); | ||
by = brd.createElement('axis', [[0,0], [0,1]], {}); | by = brd.createElement('axis', [[0,0], [0,1]], {}); | ||
var w = brd.createElement('slider',[[ | var w = brd.createElement('slider',[[5,1.5],[20,1.5],[0,50,200]],{name:'Weight',snapWidth:1}); | ||
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);} | function(x){return (0.988+0.0104*x+0.00190*x*x-0.0000584*x*x*x);}, | ||
0,25 | |||
], {strokeColor:'black', highlightStrokeColor:'black'} | ], {strokeColor:'black', highlightStrokeColor:'black'} | ||
); | ); |