bisection method with log

조회 수: 4 (최근 30일)
Mohamad Mourad
Mohamad Mourad 2020년 4월 2일
댓글: Mohamad Mourad 2020년 4월 5일
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))

답변 (1개)

David Hill
David Hill 2020년 4월 2일
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
Mohamad Mourad
Mohamad Mourad 2020년 4월 5일
Thank you very mush , it is very useful

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by