N-th root: Difference between revisions
From JSXGraph Wiki
| A WASSERMANN (talk | contribs) No edit summary | A WASSERMANN (talk | contribs) No edit summary | ||
| Line 7: | Line 7: | ||
| var plot1 = board.create('functiongraph', ["nthroot(x, 3)"], {withLabel: true, name:'nthroot(x,3)'}); | var plot1 = board.create('functiongraph', ["nthroot(x, 3)"], {withLabel: true, name:'nthroot(x,3)'}); | ||
| var plot2 = board.create('functiongraph', ["cbrt(x) + 1"], {withLabel: true, name:'cbrt(x)+1'}); | var plot2 = board.create('functiongraph', ["cbrt(x) + 1"], {withLabel: true, name:'cbrt(x)+1', strokeColor: 'black'}); | ||
| var plot3 = board.create('functiongraph', [(x) => Math.pow(1 | var plot3 = board.create('functiongraph', [(x) => Math.pow(x, 1/3) - 1], {withLabel: true, name:'Math.pow(x, 1/3) - 1', strokeColor: 'red'}); | ||
| </jsxgraph> | |||
| ===The underlying JavaScript code=== | |||
| <source lang="javascript"> | |||
| </source> | |||
| [[Category:Examples]] | |||
| [[Category:Calculus]] | |||
