フィルターのクリア

Reimann Sums to approximate integral

1 回表示 (過去 30 日間)
Vince Smith
Vince Smith 2019 年 5 月 29 日
Suppose I want to use Reimann sums to approximate the integral of the function y=x^2 with bounds 4<x<7. I want to use various step sizes and output the approximations into a single vector. The step sizes are h=1, 2^-1,2^-2,2^-3.....2^-16.
How would I solve this with..
-Left Reimann Sum
-Right Reimann Sum
-Midpoint Reimann Sum
-Trapezoid Rule
-Simpsons Rule

回答 (0 件)

カテゴリ

Help Center および File ExchangeNumerical Integration and Differential Equations についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by