Sequences of functions: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) mNo edit summary |
||
Line 5: | Line 5: | ||
var plot = brd.createElement('functiongraph',[f,0,1], {strokeWidth:1}); | var plot = brd.createElement('functiongraph',[f,0,1], {strokeWidth:1}); | ||
brd.createElement('text',[0.2,0.7,function(){return 'f(x)=x<sup>'+Math.floor(n.Value())+'</sup>';}], | brd.createElement('text',[0.2,0.7,function(){return 'f(x)=x<sup>'+Math.floor(n.Value())+'</sup>';}], | ||
{fontSize:20}); | {fontSize:'20'}); | ||
</jsxgraph> | </jsxgraph> |