Indefinite Integration of a function

I wrote the following code in matlab but I am not getting the answer. This is Integration problem. Although if I integrate a simple function I am getting the answer but for this Complicated I am not.
t=1;
syms p E t
%f(p,E) = 1/(E-p^2)^(1/2)
f(p,E,t) = 1/((1-p^2)*(1-(E/(2*t)+p)^2))^(1/2);
Y = int(f,p)
%plot(Y,E)

2 件のコメント

SHUBHAM PATEL
SHUBHAM PATEL 2019 年 10 月 26 日
Can anyone tell that it is possible or not in MATLAB?
darova
darova 2019 年 10 月 26 日
I didn't get the result too

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

 採用された回答

Asvin Kumar
Asvin Kumar 2019 年 10 月 30 日

0 投票

The output from the integration stays the same and remains unsolved because MATLAB is unable to find a closed form expression for the antiderivative of the given function.
Have a look at the example here to understand this better. It also provides an alternative approach to find approximate antiderivatives which uses the Taylor series approximation of the function.
Additional reference:

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeProgramming についてさらに検索

タグ

質問済み:

2019 年 10 月 25 日

回答済み:

2019 年 10 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by