how can i show that this equation has at least one solution with the given itnerval

1 Ansicht (letzte 30 Tage)
ln (x) – x2 + (5/2)x – 1 = 0, [1/2, 1]
i tried messing with it but i encounter errors in matlab

Akzeptierte Antwort

John D'Errico
John D'Errico am 5 Mai 2019
Bearbeitet: John D'Errico am 5 Mai 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.

Weitere Antworten (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by