Juha-Matti Huusko
Juha-Matti Huusko

Reputation: 11

How to access value of integral with JSXGraph?

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

Answers (1)

Juha-Matti Huusko
Juha-Matti Huusko

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

Related Questions