Numerical integration over (0, x1)
Show older comments
I am trying to numerical integrate the function. I am not able to solve it. Can anyone help me?

Note: t is a constant over here and limits are from 0 to x1.
Thanks in advance.
Raj Patel.
6 Comments
John D'Errico
on 21 Sep 2020
PLease don't insert a picture of code. If it were text, I could just copy your function into MALTAB to look at it. As it is, then I need to retype it, for no good reason. And while this is a simple case, why in the name of god and little green apples would you want to make it more difficult for someone too help you?
John D'Errico
on 21 Sep 2020
Next, is t a known constant? Does it have some value? What is it? If not, then you cannot use integral to integrate a function with a symbolic parameter.
Raj Patel
on 21 Sep 2020
Raj Patel
on 21 Sep 2020
Raj Patel
on 21 Sep 2020
Raj Patel
on 21 Sep 2020
Accepted Answer
More Answers (1)
Alan Stevens
on 21 Sep 2020
Need to write fun as
fun = @(x) (1./(exp(0.014342./(x*t))-1).*1./x.^4);
1 Comment
Raj Patel
on 21 Sep 2020
Categories
Find more on Calculus in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!