Effacer les filtres
Effacer les filtres

How can I get integral of following function? Matlab is not showing result?

1 vue (au cours des 30 derniers jours)
dayu
dayu le 22 Oct 2018
Commenté : madhan ravi le 22 Oct 2018
syms p k y
>> z=sqrt((p*exp(-k*y))/(1-(1-p)*exp(-2*k*y)))
z =
((p*exp(-k*y))/(exp(-2*k*y)*(p - 1) + 1))^(1/2)
>> int(z)
ans =
int(((p*exp(-k*y))/(exp(-2*k*y)*(p - 1) + 1))^(1/2), y)

Réponse acceptée

madhan ravi
madhan ravi le 22 Oct 2018
Matlabs symbolic engine is not able to solve the integral because the question contains many symbolic variables.
  5 commentaires
dayu
dayu le 22 Oct 2018
Sir, I am getting result as complex numbers. But I am dealing with real numbers. What shall I do?
madhan ravi
madhan ravi le 22 Oct 2018
Im not sure how to avoid it

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