Arithmetics of complex numbers: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 14: | Line 14: | ||
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: | ["X(x)+X(y)","Y(x)+Y(y)"], {style:7,fillColor:'blue',name:'x+y'}); | ||
var ax =board.createElement('line', [org,x], {straightFirst:false,straightLast:false,lastArrow:true,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 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'}); | var axy =board.createElement('line', [org,xy], {straightFirst:false,straightLast:false,lastArrow:true,strokeColor:'red'}); | ||
var | var ax2 =board.createElement('line', [x,xy], {straightFirst:false,straightLast:false,lastArrow:true,strokeColor:'blue',strokeWidth:1,dash:1}); | ||
var | var ay2 =board.createElement('line', [y,xy], {straightFirst:false,straightLast:false,lastArrow:true,strokeColor:'blue',strokeWidth:1,dash:1}); | ||
</script> | </script> |
Revision as of 22:32, 3 December 2008