Dual lattice: Difference between revisions
From JSXGraph Wiki
| A WASSERMANN (talk | contribs) No edit summary | A WASSERMANN (talk | contribs) No edit summary | ||
| Line 19: | Line 19: | ||
|      var num = b1.X() * b2.Y() - b2.X() * b1.Y(); |      var num = b1.X() * b2.Y() - b2.X() * b1.Y(); | ||
|      return [b2.Y() / num,  -b2.X() / num]; |      return [b2.Y() / num,  -b2.X() / num]; | ||
| }], {strokeColor: 'black'}); | }], {strokeColor: 'black', name:"1'", withLabel:true}); | ||
| w2 = brd.create('arrow', [[0,0], function() { | w2 = brd.create('arrow', [[0,0], function() { | ||
