Info
This question is closed. Reopen it to edit or answer.
How to solve this type of integration in matlab.
1 view (last 30 days)
Show older comments
Please anybody solve this integration
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/315450/image.png)
4 Comments
Answers (1)
Ameer Hamza
on 14 Jun 2020
Edited: Ameer Hamza
on 14 Jun 2020
Live script shows following output in latex format
syms r P n m K t
tau = P*r/2;
f = tau^(n-1)*(tau-n*t)/(1+K)*(1+(K*r^m/(1+K))+(K*r^m/(1+K))^2+(K*r^m/(1+K))^3);
F = int(f)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/315738/image.png)
This is integral of f. It should be similar to answer given by Mathematica.
4 Comments
Ameer Hamza
on 14 Jun 2020
Chandan, you may check if they are equivalent by substituting the values of the parameters and check the values.
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!