Click here to Skip to main content
15,893,588 members
Articles / Programming Languages / C# 4.0

Numerical Integration with Simpson's Rule

Rate me:
Please Sign up or sign in to vote.
4.98/5 (19 votes)
26 Jun 2014BSD4 min read 67.9K   3K   50  
How to implement and use Simpson's rule

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "simpson", "simpson\simpson.csproj", "{42D6316A-17F6-4BE0-8752-06A8F8EAD0FA}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestSimpson", "TestSimpson\TestSimpson.csproj", "{CFD79DCD-4206-43C5-ADF0-2F262C3C6091}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{FBF0CE78-038B-4448-84A2-6562CDB5600C}"
	ProjectSection(SolutionItems) = preProject
		Local.testsettings = Local.testsettings
		simpson.vsmdi = simpson.vsmdi
		TraceAndTestImpact.testsettings = TraceAndTestImpact.testsettings
	EndProjectSection
EndProject
Global
	GlobalSection(TestCaseManagementSettings) = postSolution
		CategoryFile = simpson.vsmdi
	EndGlobalSection
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Debug|Mixed Platforms = Debug|Mixed Platforms
		Debug|x86 = Debug|x86
		Release|Any CPU = Release|Any CPU
		Release|Mixed Platforms = Release|Mixed Platforms
		Release|x86 = Release|x86
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{42D6316A-17F6-4BE0-8752-06A8F8EAD0FA}.Debug|Any CPU.ActiveCfg = Debug|x86
		{42D6316A-17F6-4BE0-8752-06A8F8EAD0FA}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
		{42D6316A-17F6-4BE0-8752-06A8F8EAD0FA}.Debug|Mixed Platforms.Build.0 = Debug|x86
		{42D6316A-17F6-4BE0-8752-06A8F8EAD0FA}.Debug|x86.ActiveCfg = Debug|x86
		{42D6316A-17F6-4BE0-8752-06A8F8EAD0FA}.Debug|x86.Build.0 = Debug|x86
		{42D6316A-17F6-4BE0-8752-06A8F8EAD0FA}.Release|Any CPU.ActiveCfg = Release|x86
		{42D6316A-17F6-4BE0-8752-06A8F8EAD0FA}.Release|Mixed Platforms.ActiveCfg = Release|x86
		{42D6316A-17F6-4BE0-8752-06A8F8EAD0FA}.Release|Mixed Platforms.Build.0 = Release|x86
		{42D6316A-17F6-4BE0-8752-06A8F8EAD0FA}.Release|x86.ActiveCfg = Release|x86
		{42D6316A-17F6-4BE0-8752-06A8F8EAD0FA}.Release|x86.Build.0 = Release|x86
		{CFD79DCD-4206-43C5-ADF0-2F262C3C6091}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{CFD79DCD-4206-43C5-ADF0-2F262C3C6091}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{CFD79DCD-4206-43C5-ADF0-2F262C3C6091}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{CFD79DCD-4206-43C5-ADF0-2F262C3C6091}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{CFD79DCD-4206-43C5-ADF0-2F262C3C6091}.Debug|x86.ActiveCfg = Debug|Any CPU
		{CFD79DCD-4206-43C5-ADF0-2F262C3C6091}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{CFD79DCD-4206-43C5-ADF0-2F262C3C6091}.Release|Any CPU.Build.0 = Release|Any CPU
		{CFD79DCD-4206-43C5-ADF0-2F262C3C6091}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{CFD79DCD-4206-43C5-ADF0-2F262C3C6091}.Release|Mixed Platforms.Build.0 = Release|Any CPU
		{CFD79DCD-4206-43C5-ADF0-2F262C3C6091}.Release|x86.ActiveCfg = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The BSD License


Written By
President John D. Cook Consulting
United States United States
I work in the areas of applied mathematics, data analysis, and data privacy.

Check out my blog or send me a note.

 


Comments and Discussions