Hi guys, whenever i try to integrate exp(x)/(1-tan(x)) it gives me the same results as the input
syms x
int(exp(x)/(1-tan(x)),x)
ans =
-int(exp(x)/(1-tan(x)),x)
please help if you can

댓글 수: 2

Andrei Bobrov
Andrei Bobrov 2016년 3월 6일
use numeric integral
Rena Berman
Rena Berman 2017년 1월 24일
(Answers dev) Restored question.

댓글을 달려면 로그인하십시오.

 채택된 답변

Star Strider
Star Strider 2016년 3월 6일

0 개 추천

Not all expressions have analytic integrals. That seems to be one of them. The best you can hope for is to expand it to a series and integrate that:
syms x real
Eqn = exp(x)/(1-tan(x));
EqnTylr = taylor(Eqn, 'Order', 10);
Result = vpa(int(EqnTylr, x), 7)
Result =
1.227911*x^10 + 1.071564*x^9 + 0.946875*x^8 + 0.8501984*x^7 + 0.7805556*x^6 + 0.7416667*x^5 + 0.75*x^4 + 0.8333333*x^3 + x^2 + x

댓글 수: 1

Star Strider
Star Strider 2016년 3월 6일
Apparently the Symbolic Math Toolbox gets stuck, but Wolfram Alpha manages to do it. Click on the link to see the result.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Programming에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

질문:

2016년 3월 6일

댓글:

2017년 1월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by