Help in integrating an expression
조회 수: 4 (최근 30일)
이전 댓글 표시
My question is regarding integral in MATLAB. Please don't be scared by the complicated notation. They are almost all constants. I have the following function to integrate
syms v
syms gamma2
syms s
lambdav= (14679452516410005*exp(-(3*5^(1/2)*v^(1/4))/25))/(9223372036854775808*v^(1/2)) + (7339726258205003*exp(-(2*v^(1/4))/5))/(4611686018427387904*v^(1/2));
fun2=lambdav* (1./(1+s.*v^(-1)));
B=int(fun2,v,gamma2,+inf);
I would like the answer to be only in terms of gamma2 and s. The problem is MATLAB doesnt perform the integration and I get the following
int(((14679452516410005*exp(-(3*5^(1/2)*v^(1/4))/25))/(9223372036854775808*v^(1/2)) + (7339726258205003*exp(-(2*v^(1/4))/5))/(4611686018427387904*v^(1/2)))/(s/v + 1), v, gamma2, Inf)
which is basically the function I wrote meaning that MATLAB wasnt able to resolve it.
Can anyone help me understand how to perform the integration?
댓글 수: 0
채택된 답변
Roger Stafford
2014년 10월 25일
If 'int' is unable to integrate your function, you may have to resign yourself to using numerical integration for which you would have to supply actual values for the parameters gamma2 and s. Of course this is less convenient, but it may well be the only possible way you can proceed.
As an undergraduate student in calculus I learned the hard way that the formulas we were given to solve integrals covered only a small fraction of all the possible integrands we might think up. A friend of mine and I once devoted several weeks trying to integrate x^x but finally gave up on it. The truth is that in most cases these integrals are functions that have never been studied by mathematicians as yet because they are so numerous and diverse in nature and cannot be expressed in terms of the known elementary functions.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Calculus에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!