Why can't i integrate this function?

So, here's my code:
syms w k c l Vi Vr p wr wi
l = (Vr-Vi)/Vi;
p = w/wr;
fw = ((k*l*Vi)/c)*(((1+p*l)*Vi)/c)^(k-1)*exp(-((1+p*l)*Vi)/c)^k ;
f1 = wi-w;
f2 = w-wi;
fr = (f1*fw);
fp = (f2*fw);
CCr = int(fr,w);
CCp = int(fp,w);
w is the only real variable. The others ( k,c,l,Vi,Vr,p,wr,wi) are constants, but i need the answer without using the values of these.
When i try to use the ''int'' it doesn't integrate and returns int(fw,w).
Thank you :)

2 comentarios

Star Strider
Star Strider el 6 de Jul. de 2020
Many functions do not have analytic (symbolic) integrals. This also applies to differential equations, so in those situations, only numeric solutions are possible.
Leon Lazzerini
Leon Lazzerini el 6 de Jul. de 2020
Thanks, was stuck on this forever, i'll see what i can do. Thanks again :)

Iniciar sesión para comentar.

 Respuesta aceptada

madhan ravi
madhan ravi el 6 de Jul. de 2020

1 voto

Too complicated for MATLAB to solve it.

Más respuestas (0)

Categorías

Más información sobre Language Fundamentals en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 6 de Jul. de 2020

Comentada:

el 6 de Jul. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by