Symbolic Integration problem with respect to a variable
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi, I wrote a simple script to calculate symbolic integration of multivariable with respect to "t" as below:
clear all
% Symbols in equation
syms c L Bita Gamma Eita t w a
% Function to be integrated
f=((Gamma*t/Eita)^(Bita-1))*(exp((Gamma*t/Eita)^Bita)*(a^(-t))-(t/w)*...
((Gamma*t/Eita)^(Bita-1))*(exp((Gamma*t/Eita)^Bita)*(a^(-t))));
f2=((Gamma*t/Eita)^(Bita-1))*(exp((Gamma*t/Eita)^Bita)*(a^(-t))*(1-(t/w)));
% Calculate the integral
R=(c*L*Bita)*(Gamma/Eita)*int(f,t,[0,w]);
R2=(c*L*Bita)*(Gamma/Eita)*int(f2,t,[0,w]);
The problem is result R and R2 are the same as the expression !
Your help is much appreciated.
댓글 수: 0
답변 (1개)
Sean de Wolski
2015년 8월 3일
Scroll down to the "Tips" section. Either int cannot find a solution or none exist.
댓글 수: 1
Walter Roberson
2015년 8월 3일
Even if you substitute in exact numeric values for all of the symbolic variables except t, you are unlikely to arrive at a formula that has a closed form solution. There might be some special cases with some of the constants being 0 perhaps.
참고 항목
카테고리
Help Center 및 File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!