Difference between revisions of "Arithmetics of complex numbers"

From JSXGraph Wiki
Jump to: navigation, search
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 23:30, 3 December 2008