Issue 122202 - Numerical integration - Simpson's rules
Summary: Numerical integration - Simpson's rules
Status: CLOSED WONT_FIX
Alias: None
Product: Calc
Classification: Application
Component: code (show other issues)
Version: 4.0.0-dev
Hardware: All All
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-01 19:21 UTC by Edwin Sharp
Modified: 2017-05-20 09:55 UTC (History)
1 user (show)

See Also:
Issue Type: FEATURE
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Edwin Sharp 2013-05-01 19:21:02 UTC
Given: equally spaced x values, x0 till xn and respective function values in two columns

Three points n=2: Simpson's 1/3 rule
Function Simp13 = (x2-x0)*(f(x0)+4f(x1)+f(x2))/6

Four points n=3: Simpson's 3/8 rule
Function Simp38 = (x3-x0)*(f(x0)+3f(x1)+3f(x2)+f(x3))/8

Five points n=4: Simpson's 1/3 rule on first and last three points

Six points n=5: Simpson's 1/3 rule on first three points and Simpson's 3/8 rule on last last four points

etc.
Comment 1 Edwin Sharp 2013-05-11 18:48:32 UTC
See http://wiki.openoffice.org/wiki/Extensions/Ideas/Calc