bisection method with log
조회 수: 4 (최근 30일)
이전 댓글 표시
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
Ameer Hamza
2020년 4월 2일
This seems like a homework question. What have you already tried? Here are some examples:
답변 (1개)
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));
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!