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