Hyperbola III: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 11: | Line 11: | ||
var f2 = board.create('point', [ sq5, 0], {name:"f"}); | var f2 = board.create('point', [ sq5, 0], {name:"f"}); | ||
var p = board.create('point', [4, Math.sqrt(3)], {name:"p"}); | var p = board.create('point', [4, Math.sqrt(3)], {name:"p"}); | ||
var phi = board.create('transfom', [Math.PI * 0.25], {type: 'rotate'}); | |||
phi.applyOnce([f1, f2, p]) | |||
var hyp = board.create('hyperbola', [f1, f2, p]); | var hyp = board.create('hyperbola', [f1, f2, p]); | ||