Difference between revisions of "Intersection of functiongraphs"

From JSXGraph Wiki
Jump to navigationJump to search
Line 23: Line 23:
 
     curve2.numberPoints += 2;
 
     curve2.numberPoints += 2;
  
     var a = JXG.Math.Clip.intersection(curve1, curve2, this.board);
+
     var a = JXG.Math.Clip.greinerHormann(curve1, curve2, 'intersection', this.board);
 
     this.dataX = a[0];
 
     this.dataX = a[0];
 
     this.dataY = a[1];
 
     this.dataY = a[1];

Revision as of 11:33, 28 March 2020

The underlying JavaScript code