Numerical Integration by Matlab
2 ビュー (過去 30 日間)
古いコメントを表示

Please mention about the tolerance of accuracy
9 件のコメント
Walter Roberson
2020 年 12 月 29 日
Give the command
format long g
and then display the result again.
By default, MATLAB only displays 4 decimal places, but the values are stored internally to higher precision.
回答 (1 件)
James Tursa
2020 年 12 月 28 日
編集済み: James Tursa
2020 年 12 月 29 日
Hint: You might look here:
Knowing that the integral of the Normal density function from -infinity to +infinity is 1 exactly, maybe you can come up with a change of integration variable to get that equation in a form that matches your integral to get the exact answer directly. Starting with a standard Normal density function (mu=0, sigma=1), it is a pretty easy substitution from there to get what you have.
0 件のコメント
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!