Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
ЛБ5 / Звіт.docx
Скачиваний:
1
Добавлен:
20.12.2024
Размер:
127 Кб
Скачать
☆
  1. Summarize the results of calculations of the integral, marginal, and absolute error for all methods in the table.

  • Table for manual solution where n = 4.

Calculation of the definite integral

Left rectangle formula

Right rectangle formula

Trapezius formula

Simpson’s formula

Exact solution

25.65

25.65

25.65

25.65

Approximate solution

45.0705

18.0705

31.3658

26.1565

Absolute error

19.4205

7.5795

5.7158

0.51625

Marginal Absolute Error

121.5

121.5

25.03125

0.5065

  • Table for program solution where n = 20

Calculation of the definite integral

Left rectangle formula

Right rectangle formula

Trapezius formula

Simpson’s formula

Exact solution

25.65

25.65

25.65

25.65

Approximate solution

28.5917

23.1917

25.8917

25.6508

Absolute error

2.94167

2.45833

0.241673

0.00081

Marginal Absolute Error

24.3

24.3

1.00125

0.00081

Conclusion: during the performing of laboratorian work I made several conclusions. 1. The most accurate method of calculating the approximate value of integral is Simpson’s method. The formula gave me the least absolute error and values even for small number of steps(n = 4) gave me result near the actual. 2. Depending on the graph the left and right rectangle formula’s values might differ in different directions. In my case using the left rectangle formula gave me excessive answer and right one the insufficient value.

Соседние файлы в папке ЛБ5