how to find the ansers for an elliptic integral.

1 次查看(过去 30 天)
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
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 CenterFile Exchange 中查找有关 Calculus 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by