# Integrate symbolic function & maintain constants in solutions

6 views (last 30 days)
Tyler on 26 Sep 2014
Commented: Star Strider on 27 Sep 2014
Hi i am looking to integrate the below equation (F1) from 0->Inf
a(1), a(2), a(3) are just constants a1,a2,a3 and i'd like to see the solution to the integral with the constants in it.
FD = @(s) sqrt((a(1).^2+s).*(a(2).^2+s).*(a(3).^2+s)); F1 = @(s) 1./((a(1).^2+s).*FD(s));
Is this possible? the integrals can be evaluated if the values a(1) a(2) and a(3) are replaced with numbers.
Any help would be greatly appreciated
Thanks!
Tyler on 26 Sep 2014
i should mention the variable being integrated is s

Roger Stafford on 27 Sep 2014
As I mentioned to you yesterday, you are unlikely to get a symbolic answer from 'int' as a function of a1, a2, and a3, because what you have there is an elliptic integral, and 'int' can't use any of the elementary functions available to it for expressing this function.
Star Strider on 27 Sep 2014
I didn’t realise this was a recrudescent question.

### Categories

Find more on Numeric Solvers 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!