Matlab积分请教A*(pai*k1+x*(patm*(1-pef*(2patm*k0-2pai*k1)*x+2pai*k1)/((pef+patm)*patm*k0-pai*k1*pti)*x+pai*k1*pti+sqrt(x^2+x*f+g))*k0-pai*k1))/(pc*patm*(1-pef*(2patm*k0-2pai*k1)*x+2pai*k1)/((pef+patm)*patm*k0-pai*k1*pti)*x+pai*k1*pti+sqrt(x^2+x*f
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/19 15:59:13
Matlab积分请教A*(pai*k1+x*(patm*(1-pef*(2patm*k0-2pai*k1)*x+2pai*k1)/((pef+patm)*patm*k0-pai*k1*pti)*x+pai*k1*pti+sqrt(x^2+x*f+g))*k0-pai*k1))/(pc*patm*(1-pef*(2patm*k0-2pai*k1)*x+2pai*k1)/((pef+patm)*patm*k0-pai*k1*pti)*x+pai*k1*pti+sqrt(x^2+x*f
Matlab积分请教
A*(pai*k1+x*(patm*(1-pef*(2patm*k0-2pai*k1)*x+2pai*k1)/((pef+patm)*patm*k0-pai*k1*pti)*x+pai*k1*pti+sqrt(x^2+x*f+g))*k0-pai*k1))/(pc*patm*(1-pef*(2patm*k0-2pai*k1)*x+2pai*k1)/((pef+patm)*patm*k0-pai*k1*pti)*x+pai*k1*pti+sqrt(x^2+x*f+g))-pef*pai)
这样一个式子中将X从X1到X2积分.式子中其他都是常数,但需要用字母表示.怎么让Matlab得到积分后的表达式?
是这个式子!上面写错了!A*(pai*k1+x*(patm*(1-pef*(2*patm*k0-2*pai*k1)*x+2*pai*k1)/((pef+patm)*patm*k0-pai*k1*pti)*x+pai*k1*pti+sqrt((x^2)*e+x*f+g))*k0-pai*k1))/(pc*patm*(1-pef*(2*patm*k0-2*pai*k1)*x+2*pai*k1)/((pef+patm)*patm*k0-pai*k1*pti)*x+pai*k1*pti+sqrt((x^2)*e+x*f+g))-pef*pai)
其中pai k1 k0 pc pef patm pti e f g A是常数!将X从X1到X2积分.
Matlab积分请教A*(pai*k1+x*(patm*(1-pef*(2patm*k0-2pai*k1)*x+2pai*k1)/((pef+patm)*patm*k0-pai*k1*pti)*x+pai*k1*pti+sqrt(x^2+x*f+g))*k0-pai*k1))/(pc*patm*(1-pef*(2patm*k0-2pai*k1)*x+2pai*k1)/((pef+patm)*patm*k0-pai*k1*pti)*x+pai*k1*pti+sqrt(x^2+x*f
>> syms pai k1 k0 pc pef patm pti e f g A x1 x2 x;
“这里先定义符号,进行符号积分”
>> f1=A*(pai*k1+x*(patm*(1-pef*(2*patm*k0-2*pai*k1)*x+2*pai*k1)));
>> f2=((pef+patm)*patm*k0-pai*k1*pti)*x+pai*k1*pti+sqrt((x^2)*e+x*f+g)*k0-pai*k1;
>> f3=pc*patm*(1-pef*(2*patm*k0-2*pai*k1)*x+2*pai*k1);
>> f4=((pef+patm)*patm*k0-pai*k1*pti)*x+pai*k1*pti+sqrt((x^2)*e+x*f+g)-pef*pai;
“将已给的数学式分解成f1,f2,f3,f4”
>> s=f1/(f2*f3*f4);
“总的表达式”
>> int(s,x1,x2)
“int(s,x1,x2)进行符号积分”
接下来就是MATLAB运算的问题了,