MATLAB Answers

Why can't I calculate the definite integral?

30 views (last 30 days)
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?

  0 Comments

Sign in to comment.

More Answers (1)

madhan ravi
madhan ravi on 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 = 

Community Treasure Hunt

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

Start Hunting!

Translated by