フィルターのクリア

How do you solve for the limits of an integral?

2 ビュー (過去 30 日間)
Louis McDermott
Louis McDermott 2021 年 1 月 28 日
コメント済み: Louis McDermott 2021 年 1 月 28 日
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)

採用された回答

Walter Roberson
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)
f = 
vpasolve(f,PhetaS, .1)
ans = 
0.47873864697966172105256369269319

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeNumber Theory についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by