Kyle-Pu / Mathematics

Various math formulas coded in Java to help students all across the world!
MIT License
40 stars 59 forks source link

Intermediate Value Theorem Explanation #10

Open Kyle-Pu opened 6 years ago

Kyle-Pu commented 6 years ago

Please add an explanation to users for how the Intermediate Value Theorem is applied in order to compute the correct answer in the IVT Calculator.

Remember that each program must explain to users how answers are generated rather than just providing an answer.

enimiste commented 4 years ago

Hi, I don't think that the IVT could be implemented the way it is in the java file. It may be used to approve that if a given function f is continuous on an interval [a, b] then if f(a)<=s<=f(b) then exists an x such that f(x)=s. in the java file you asked the user for the min and max of the function. But the IVT uses only a and b values not the min and max of the function which may not be the f(a) or f(b). Check this link : Wiki