Numerical Integration

From NavykI
Revision as of 11:16, 22 December 2009 by 192.168.11.14 (talk) (New page: ==Numerical Integration== Numerical integration helps finding the area under a curve using the curve equation. This is used in finding the area under the righting arm curve for CE or oth...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Numerical Integration

Numerical integration helps finding the area under a curve using the curve equation.

This is used in finding the area under the righting arm curve for CE or other classification rules.

In Naval Architecture folder you can find an excel file which contains some subroutines for numerical integration. The file is called NumericalIntegrationOnly.xls.

  • Inputs
    • In this file you will have to input the curve equation obtained on an excel diagram, by adding a polynomial trend line. This is a tricky procedure becouse excel might give errors in the equation generation, so after obtaining the equation you should test it by giving values to "x" and making another diagram to see if it's close to the original curve.
    • Integration interval [a,b] (ie: if you have to find the area under the curve between 30° and 60° interval [a,b] will be [30,60])
    • Integration interval division m represents the number of intervals that will divide interval [a,b]