Hi This is the function :
sigma = (M*b) / ((3.14*a*b^3)/4) - ((3.14*(a-x)*(b-x)^3)/4)
i know sigma,M,a and b how can i find x value? Thanks

 채택된 답변

dpb
dpb 2017년 6월 15일

0 개 추천

fnSigma = (x) (M*b)/(pi*a*b^3/4)-pi*(a-x)*(b-x)^3)/4; % anonymous function builds in a,b,M
x=fsolve(@(x) fnSigma-sigma,x0); % solve for fn(x)|[M,a,b] - sigma == 0
Need a starting guess for x0.

댓글 수: 2

Muhammed Talha Uysal
Muhammed Talha Uysal 2017년 6월 15일
Thanks
dpb
dpb 2017년 6월 15일
Welcome... :)

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

추가 답변 (0개)

카테고리

태그

질문:

2017년 6월 15일

댓글:

dpb
2017년 6월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by