bisection method with log

4 vues (au cours des 30 derniers jours)
Mohamad Mourad
Mohamad Mourad le 2 Avr 2020
if a=15
b=60
Sy=1070
p= 700
how can i find c using bisection method
P= (Sy/3)*(1-(c^2/b^2)+log(c^2/a^2))

Réponses (1)

David Hill
David Hill le 2 Avr 2020
Once you graph your function, you see there are 4 roots. Using the bisection method to find the numerical roots should now be easy.
a=15;
b=60;
Sy=1070;
p=700;
c=-150:.1:150;
y=@(c)(Sy/3)*(1-(c.^2/b^2)+log(c.^2/a^2))-p;
plot(c,y(c));
  1 commentaire
Mohamad Mourad
Mohamad Mourad le 5 Avr 2020
Thank you very mush , it is very useful

Connectez-vous pour commenter.

Catégories

En savoir plus sur MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by