how can i show that this equation has at least one solution with the given itnerval
2 views (last 30 days)
Show older comments
ln (x) – x2 + (5/2)x – 1 = 0, [1/2, 1]
i tried messing with it but i encounter errors in matlab
0 Comments
Accepted Answer
John D'Errico
on 5 May 2019
Edited: John D'Errico
on 5 May 2019
We should not be doing your homework. But since Star has already answered your question, let me see if I can give you an idea. (And Star did not answer your question in a way that is probably useful, since calling fzero might be a flaw for a homework assignment.)
If a function is continuous over an entire interval, and it has a sign that changes from one end of the interval to the other, then does it cross zero, at SOME unspecified point in the interval? In fact, the function may have more than one solution on that interval. But it is sufficient to test the end points of the interval, and to verify the function is finite and continuous everywhere on that interval.
In fact, this is virtually one of the first things that fzero does test when called with an interval on some general function. If there is no sign change, then it generates an error. In fact, that is not sufficient to insure the existence of a root, since if the function is discontinuous, then no root actually needs to exist.
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!