How do you solve for the limits of an integral?
1 次查看(过去 30 天)
显示 更早的评论
Hi there
I am looking to solve the equation for PhetaS
W=b*r^(n+1)*(Kc/b+Kphi)*int((cos(Pheta)-cos(PhetaS))^n*cos(Pheta),Pheta,-PhetaS,PhetaS)
Where, W, b, r, n, Kc, Kphi are known values.
Below is the script I am using, however, I am having a lot of trouble:
clc; clear all; close all;
r=0.1;
b=0.15;
Kc=0.99*1000; Kphi=1528.4*1000; n=1.1; W=100;
syms Pheta PhetaS
f=W==(b*(Kc/b+Kphi)*r^(n+1))*int(((cos(Pheta)-cos(PhetaS))^n)*cos(Pheta),Pheta,-PhetaS,PhetaS)
solve(f,PhetaS)
0 个评论
采纳的回答
Walter Roberson
2021-1-28
r=0.1;
b=0.15;
Kc=0.99*1000; Kphi=1528.4*1000; n=1.1; W=100;
syms Pheta PhetaS
f=W==(b*(Kc/b+Kphi)*r^(n+1))*vpaintegral(((cos(Pheta)-cos(PhetaS))^n)*cos(Pheta),Pheta,-PhetaS,PhetaS)
vpasolve(f,PhetaS, .1)
更多回答(0 个)
另请参阅
类别
在 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!