问题
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.
回答1:
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);}
],{});
来源:https://stackoverflow.com/questions/57807057/how-to-access-value-of-integral-with-jsxgraph