フィルターのクリア

How can I get the exact result with this code?

2 ビュー (過去 30 日間)
Cesar Cardenas
Cesar Cardenas 2023 年 2 月 20 日
コメント済み: John D'Errico 2023 年 2 月 20 日
Hi, I'm trying to integrate the expression shown. Just wondering how I could get the same exact result? or what am I doing wrong? any help will be greatly appreciated. Thanks
syms x f(x)
L = 1;
f(x) = 5*(x.^0.33);
h = (1/L)*int(f(x), x, 0, L)
  1 件のコメント
John D'Errico
John D'Errico 2023 年 2 月 20 日
Even disregarding the sign error in the exponent (as correctly pointed out in the answer), 0.33 is not equal to 1/3.

サインインしてコメントする。

採用された回答

Dyuman Joshi
Dyuman Joshi 2023 年 2 月 20 日
The power to x was incorrect
syms f(x)
L = 1;
f(x) = 5*(x.^(-1/3));
h = (1/L)*int(f(x), 0, L)
h = 

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by