Integral Not Calculating Numeric Result

4 ビュー (過去 30 日間)
Kaylee Chavez
Kaylee Chavez 2021 年 3 月 9 日
回答済み: Alan Stevens 2021 年 3 月 10 日
Hello.
I am having some trouble calculating an integral for a given function. Attached is my code so far. I calculated the actual result to be .
Thanks!
syms t x y
>> x = t^3
>> y = t^4
dy =4*t^3
dx = 3*t^2
>> F = (x/y) * (sqrt(dy^2 + dx^2))
F = (16*t^6 + 9*t^4)^(1/2)/t
>> q = int(F, 1, 2)
q = int((16*t^6 + 9*t^4)^(1/2)/t, t, 1, 2)

採用された回答

Alan Stevens
Alan Stevens 2021 年 3 月 10 日
Replace
q = int(F,1,2)
by
q = int(F,1,2,'IgnoreAnalyticConstraints',true)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCalculus についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by