how to integrate the function?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Walter Roberson
el 13 de Jun. de 2021
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 comentarios
Walter Roberson
el 13 de Jun. de 2021
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.
Ver también
Categorías
Más información sobre Logical en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!