Problem with integral function

1 vue (au cours des 30 derniers jours)
DARSHAN N KANNUR
DARSHAN N KANNUR le 16 Juin 2020
Commenté : DARSHAN N KANNUR le 16 Juin 2020
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)

Réponse acceptée

KSSV
KSSV le 16 Juin 2020
Modifié(e) : KSSV le 16 Juin 2020
Replace
fun = @(v) (940/((24000./v)-(rr+(ad.*v^2))));
with
fun = @(v) (940./((24000./v)-(rr+(ad.*v.^2))));
  1 commentaire
DARSHAN N KANNUR
DARSHAN N KANNUR le 16 Juin 2020
Thank you

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by