How do I write this integral?

2 ビュー (過去 30 日間)
Sara Westerlund
Sara Westerlund 2022 年 2 月 7 日
回答済み: Prachi Kulkarni 2022 年 2 月 17 日
How do you write this integral and also compute it.
  1 件のコメント
Star Strider
Star Strider 2022 年 2 月 7 日
This is actually straightforward, so I’ll provide links to the integral function and to Anonymous Functions.
Those should be everything you need!

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

回答 (1 件)

Prachi Kulkarni
Prachi Kulkarni 2022 年 2 月 17 日
Hi,
You can write the integral as follows.
fun = @(x) 13*exp(-((x-pi)/0.0003).^2);
q = integral(fun,0,2*pi)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by