Hi all and greetings.
In the program, i have the graph of a function, and at least one activity ago was created before next abstracted code activity shown below, and the figure is in a variable called "h", the graph range is 0 to 30. In the next code or activity, the respective function of the graph is called "y" as is shown below.
I will get the area under the curve of this function in the range 10 to 20.
How to do to FILL this area range when I click on the figure or graph AND TO SHOW IN A LABEL THE AREA VALUE ?
Maybe a callback function or another idea !!!
CAN SOMEONE HELP ME PLEASE ?
THANKS !!!
a=input('First value: '); % a=10
b=input('Second value: '); % b=20
syms xy=10*log(2+x^2)+(10/3*x);area=eval(int(y,a,b));disp(area);
Best Answer