Difference between revisions of "Continuous functions"

From JSXGraph Wiki
Jump to navigationJump to search
Line 26: Line 26:
 
  y2 = board.createElement('point', [function(){return x2.X();},function(){return f(x2.X());}],{style:7,name:' '});
 
  y2 = board.createElement('point', [function(){return x2.X();},function(){return f(x2.X());}],{style:7,name:' '});
 
  y3 = board.createElement('point', [function(){return x3.X();},function(){return f(x3.X());}],{style:7,name:' '});
 
  y3 = board.createElement('point', [function(){return x3.X();},function(){return f(x3.X());}],{style:7,name:' '});
 +
v2 = board.createElement('line', [x2,y2],{strokeColor:'red',dash:2,strokeWidth:1});
 +
v3 = board.createElement('line', [x3,y3],{strokeColor:'red',dash:2,strokeWidth:1});
  
 
+
  h2 = board.createElement('curve', [function(t){return t},function(t){return y2.Y();},], {strokeColor:'red',dash:2,strokeWidth:1});
  h2 = board.createElement('curve', [function(t){return t},function(t){return y2.Y();},], {strokeColor:'red',dash:1});
+
  h3 = board.createElement('curve', [function(t){return t},function(t){return y3.Y();},], {strokeColor:'red',dash:2,strokeWidth:1});
  h3 = board.createElement('curve', [function(t){return t},function(t){return y3.Y();},], {strokeColor:'red',dash:1});
 
  
 
</script>
 
</script>

Revision as of 12:00, 17 December 2008

References

The underlying JavaScript source code