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 Exchange에서 Programming에 대해 자세히 알아보기

태그

질문:

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