Rational functions: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 43: | Line 43: | ||
board2 = JXG.JSXGraph.initBoard('box2', {originX: 150, originY: 200, unitX: 30, unitY: 25}); | board2 = JXG.JSXGraph.initBoard('box2', {originX: 150, originY: 200, unitX: 30, unitY: 25}); | ||
// Axes | // Axes | ||
b1axisx2 = board2.createElement('axis', [[0,0], [1,0]], {}); | |||
b1axisy2 = board2.createElement('axis', [[0,0], [0,1]], {}); | |||
var q = []; | var q = []; | ||
Line 67: | Line 67: | ||
return y; | return y; | ||
}; | }; | ||
graph2 = board2.createElement('curve', ['x', polynomial2, 'x', -10, 10], {curveType:'graph'}); | |||
function addPoint2() { | function addPoint2() { |
Revision as of 13:20, 15 December 2008