フィルターのクリア

How can I solve this problem in the matlab program ?

3 ビュー (過去 30 日間)
Vuqar Samedov
Vuqar Samedov 2020 年 12 月 21 日
回答済み: Daniel Catton 2020 年 12 月 21 日

採用された回答

Daniel Catton
Daniel Catton 2020 年 12 月 21 日
I believe your maths is incorrect and that is the first problem.
You get your derivitive of u as du = -4x.dx which is correct. Substituting this into the equation would give you:
With this in mind, you also don't need to substitute u into the matlab script as it is only required for computation by hand (for integration by substitution you would normally select u yourself). Thus, you can get the script:
syms x
f = int(x*exp(-x^2))
which outputs the correct answer.
Hope this helps!

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCalculus についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by