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 ExchangeProgramming についてさらに検索

タグ

タグが未入力です。

質問済み:

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