Integral Not Calculating Numeric Result
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Kaylee Chavez
il 9 Mar 2021
Risposto: Alan Stevens
il 10 Mar 2021
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
.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/544527/image.png)
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)
0 Commenti
Risposta accettata
Alan Stevens
il 10 Mar 2021
Replace
q = int(F,1,2)
by
q = int(F,1,2,'IgnoreAnalyticConstraints',true)
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Calculus in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!