フィルターのクリア

how to find the ansers for an elliptic integral.

1 回表示 (過去 30 日間)
Prashanth Chandrasekar
Prashanth Chandrasekar 2014 年 2 月 3 日
コメント済み: Walter Roberson 2014 年 2 月 3 日
I am prashanth doing a project using matlab.I am new to matlab.I want to know how to interpret an elliptic integral and how to solve an elliptic integral in matlab. My equation is as follows.
Input: syms a b phi
int((1/(sqrt(1-(((2*b)/(a+b))^2)*(sin((pi/4)-(phi/2))^2)))), phi)
Ans:(-2)*ellipticF(pi/4 - phi/2, (4*b^2)/(a + b)^2)
I want to know how the answer has to be interpreted and use in the following steps.
Thanx in advance.

採用された回答

Walter Roberson
Walter Roberson 2014 年 2 月 3 日
You need to subs() particular values for "a" and "b" and "phi" into the answer before the value of the elliptic integral can be calculated. For example,
double( subs(Ans, {a, b, phi}, {3, 4, pi/3}) )
  2 件のコメント
Prashanth Chandrasekar
Prashanth Chandrasekar 2014 年 2 月 3 日
Thanx Walter.I want to find out the phi n the equation by iterative process.Can u describe me of the syntax and the applications of different loop conditions.
Walter Roberson
Walter Roberson 2014 年 2 月 3 日
EIAns = matlabFunction( subs(Ans, {a, b}, {3, 4}) ); %use appropriate a b
EI_equals = 0.3183; %whatever you need the integral to come out as if you had the correct phi
rightphi = fzero( @(phi) EIAns(phi) - EI_equals, [0 2*pi]);

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by