Reputation: 11
I was reading: how to make a dynamic function to draw integral Graph from user input with JSXGraph?
There the value of the integral is "-1.6667". How to access the value?
I have tried to search help, but cannot find.
Upvotes: 0
Views: 145
Reputation: 11
Solved:
function g(x){return Math.sin(x)+1};
var F = brd.create('point', [
function(){return s.X();},
function(){return JXG.Math.Numerics.I([-2,s.X()],g);}
],{});
Upvotes: 1