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=500 height=500> | <jsxgraph width=500 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',[[0,1.5],[20,1.5],[0,50,200]],{name:'r',snapWidth:1}); | |||
var c = brd.createElement('functiongraph',[ | var c = brd.createElement('functiongraph',[ | ||
function(x){return w*(0.988+0.0104*x+0.00190*x*x-0.0000584*x*x*x);} | function(x){return w*(0.988+0.0104*x+0.00190*x*x-0.0000584*x*x*x);} |