Arithmetics of complex numbers: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 9: Line 9:
         b1axisx = board.createElement('axis', [[0,0], [1,0]], {});
         b1axisx = board.createElement('axis', [[0,0], [1,0]], {});
         b1axisy = board.createElement('axis', [[0,0], [0,1]], {});
         b1axisy = board.createElement('axis', [[0,0], [0,1]], {});
 
       
        var org = board.createElement('point', [0,0], {style:10,visible:true,fixed:true});
         var x = board.createElement('point', [2,2], {style:5,fillColor:'blue',name:'x'});
         var x = board.createElement('point', [2,2], {style:5,fillColor:'blue',name:'x'});
         var y = board.createElement('point', [-1,-3], {style:5,fillColor:'blue',name:'y'});
         var y = board.createElement('point', [-1,-3], {style:5,fillColor:'blue',name:'y'});
         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', [board.origirn,x], {strokeColor:'blue'});
         var ax =board.createElement('line', [board.origin,x], {strokeColor:'blue'});
          
          
</script>
</script>

Revision as of 22:28, 3 December 2008