Arithmetics of complex numbers: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 15: Line 15:
         var xy = board.createElement('point',  
         var xy = board.createElement('point',  
               ["X(x)+X(y)","Y(x)+Y(y)"], {style:9,fillColor:'blue',name:'x+y'});
               ["X(x)+X(y)","Y(x)+Y(y)"], {style:9,fillColor:'blue',name:'x+y'});
         var ax =board.createElement('line', [org,x], {strokeColor:'blue'});
         var ax =board.createElement('line', [org,x], {straightFirst:false,straightLast:false,lastArrow:true,strokeColor:'blue'});
        var ay =board.createElement('line', [org,y], {straightFirst:false,straightLast:false,lastArrow:true,strokeColor:'blue'});
        var axy =board.createElement('line', [org,xy], {straightFirst:false,straightLast:false,lastArrow:true,strokeColor:'red'});
          
          
</script>
</script>

Revision as of 22:30, 3 December 2008