how to integrate the function?
조회 수: 1 (최근 30일)
이전 댓글 표시
can someone help me with the integration.I tried int(f,t',o,t), but this does not seem to be working. Are there any possible ways to solve the integration. Here theta, tc, vx,w etc are constants.
댓글 수: 0
답변 (1개)
Walter Roberson
2021년 6월 13일
syms theta t__c t_prime x v__x y omega t
part1 = 1/(1+2*t_prime/t__c)
part2 = exp(-2*((x-v__x*t_prime).^2 + y.^2)/((1+2*t_prime/t__c)*omega^2))
part3 = exp(-2*(v__x*t_prime)^2 / ((1+2*t_prime/t__c)*omega^2))
del_theta = theta/(2*t__c) * int(part1 * (part2 - part3), t_prime, 0, t)
I suspect that you are hoping for a closed form solution. It is unlikely that a closed form solution exists.
댓글 수: 2
Walter Roberson
2021년 6월 13일
You are not likely to be able to find a closed form solution.
If you split the integration into two integration, then the first one can be rewritten to have the form
syms b c t T
int(exp(t^2/(b*t + c)), t,0,T)
MATLAB cannot resolve it. Maple cannot resolve it. Mathematica cannot resolve it.
You could experiment with approximations, such as taking a taylor series of the inside of the integral and integrating that. However, in practice it leads to some really large numbers -- order 10 expansion leads to a lot of values in the 10^510 range for example.
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!