Why can't I calculate the definite integral?

2 vues (au cours des 30 derniers jours)
Nikola Ostojic
Nikola Ostojic le 18 Jan 2021
Commenté : Nikola Ostojic le 18 Jan 2021
h_min=0.5;
h_max=1.16;
pom_lc=1.21;
syms t
f=1-exp(t/pom_lc)
F=int(f, t, [h_min h_max])
answer:
f = 1 - exp((100*t)/121)
F = 33/50 - (121*exp(50/121)*(exp(6/11) - 1))/100
Why can't I calculate the integral?

Réponse acceptée

David Hill
David Hill le 18 Jan 2021
F=vpa(F)

Plus de réponses (1)

madhan ravi
madhan ravi le 18 Jan 2021
h_min=0.5;
h_max=1.16;
pom_lc=1.21;
syms t
f = 1-exp(t/pom_lc)
f = 
F = vpaintegral(f, t, [h_min h_max]) % double(), vpa() will also work
F = 

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by