Problem with integral function

3 ビュー (過去 30 日間)
DARSHAN N KANNUR
DARSHAN N KANNUR 2020 年 6 月 16 日
コメント済み: DARSHAN N KANNUR 2020 年 6 月 16 日
Hello, here is the code
ad=0.5*1.225*0.28*2.67;
rr=1305*cosd(0)*0.014*9.8;
fun = @(v) (940/((24000./v)-(rr+(ad.*v^2))));
pow= integral(fun,0,16.62)
These are the errors :
Error in integral (line 88)
Q = integralCalc(fun,a,b,opstruct);
Error in Untitled (line 7)
pow= integral(fun,0,16.62)

採用された回答

KSSV
KSSV 2020 年 6 月 16 日
編集済み: KSSV 2020 年 6 月 16 日
Replace
fun = @(v) (940/((24000./v)-(rr+(ad.*v^2))));
with
fun = @(v) (940./((24000./v)-(rr+(ad.*v.^2))));
  1 件のコメント
DARSHAN N KANNUR
DARSHAN N KANNUR 2020 年 6 月 16 日
Thank you

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeEncryption / Cryptography についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by