# Difference between revisions of "Rational functions"

From JSXGraph Wiki

Jump to navigationJump to searchA WASSERMANN (talk | contribs) |
A WASSERMANN (talk | contribs) |
||

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 14:20, 15 December 2008