Writing a code for symbolic integration
Show older comments
I'm trying to integrate the following

where


How do I write a code that will integrate this symbolically? I have been trying without success.
Answers (2)
Haley Lang
on 16 Oct 2018
0 votes
Setting
C1 = (T_i-T_inf)*(-C1*lambda_1/r0)*J1(lambda_1*r0/r0)
C2 = lambda_1^2*alpha/r0^2
your function is
f(t) = C1*exp(-C2*t)
An integral is
F(t) = -C1/C2*exp(-C2*t)
Thus
integral_{0}^{t} F(t') dt' = C1/C2*(1-exp(-C2*t))
By the way: My guess is that J1 is not a constant, but the Bessel function of the first kind.
Furthermore, I guess that T_i depends on t as well such that your integration is not corrrect.
Best wishes
Torsten.
Categories
Find more on Symbolic Math Toolbox 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!