How do you solve for the limits of an integral?
1 view (last 30 days)
Show older comments
Louis McDermott
on 28 Jan 2021
Commented: Louis McDermott
on 28 Jan 2021
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 Comments
Accepted Answer
Walter Roberson
on 28 Jan 2021
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)
More Answers (0)
See Also
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!