How to plot an Integral

18 vues (au cours des 30 derniers jours)
Ali Deniz
Ali Deniz le 19 Oct 2021
Commenté : Ali Deniz le 19 Oct 2021
How can I plot the integral
((2mg)/(2mg-rho*s*Cd*V^2)dv)
from 0 to 61.6318493
m=0.023
g=9.81
rho=1.2
s=0.00011
Cd=0.9

Réponse acceptée

Walter Roberson
Walter Roberson le 19 Oct 2021
Modifié(e) : Walter Roberson le 19 Oct 2021
Q = @(x) sym(x);
m = Q(0.023);
g = Q(9.81);
rho = Q(1.2);
s = Q(0.00011);
Cd = Q(0.9);
syms v V real
f =(2 .* m .* g) ./ (2 .* m .* g - rho .* s .* Cd .* v.^2);
F = int(f,0,V)
F = 
fplot(F, [0, 61.6318493])
format long g
boundary = sqrt(125350/33)
boundary =
61.6318493028146
Looks like your upper bound is exactly the boundary after which the integral becomes infinite.
  1 commentaire
Ali Deniz
Ali Deniz le 19 Oct 2021
Thank you.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by