chapter iii. numerical integration for ship forms review of cven 302
Post on 20-Dec-2015
218 views
TRANSCRIPT
![Page 1: Chapter III. Numerical Integration for Ship Forms Review of CVEN 302](https://reader036.vdocuments.mx/reader036/viewer/2022081516/56649d4b5503460f94a2976a/html5/thumbnails/1.jpg)
Chapter III. Numerical Integration for
Ship Forms
Review of CVEN 302
![Page 2: Chapter III. Numerical Integration for Ship Forms Review of CVEN 302](https://reader036.vdocuments.mx/reader036/viewer/2022081516/56649d4b5503460f94a2976a/html5/thumbnails/2.jpg)
Data of Ship forms
• Discrete data (Line drawings, stations, water plane etc)
• Evenly distributed (most times)
![Page 3: Chapter III. Numerical Integration for Ship Forms Review of CVEN 302](https://reader036.vdocuments.mx/reader036/viewer/2022081516/56649d4b5503460f94a2976a/html5/thumbnails/3.jpg)
Methods of Numerical Integration
•Trapezoidal rule (linear)
•Sinpson’s 1/3 rule (quadratic)
•Simpson’s 3/8 rule (cubic)
•Multiple applications
•Tchebycheff’s (similar to Gauss Quadrature) rule -applied to a continues function
![Page 4: Chapter III. Numerical Integration for Ship Forms Review of CVEN 302](https://reader036.vdocuments.mx/reader036/viewer/2022081516/56649d4b5503460f94a2976a/html5/thumbnails/4.jpg)
fn (x) can be linear fn (x) can be quadratic
![Page 5: Chapter III. Numerical Integration for Ship Forms Review of CVEN 302](https://reader036.vdocuments.mx/reader036/viewer/2022081516/56649d4b5503460f94a2976a/html5/thumbnails/5.jpg)
fn (x) can also be cubic or other higher-order polynomials
![Page 6: Chapter III. Numerical Integration for Ship Forms Review of CVEN 302](https://reader036.vdocuments.mx/reader036/viewer/2022081516/56649d4b5503460f94a2976a/html5/thumbnails/6.jpg)
Trapezoidal RuleTrapezoidal Rule (single Application)(single Application)
• Linear approximation
)()(
)()()()(
10
1100i
1
0ii
b
a
xfxf2
h
xfcxfcxfcdxxf
x0 x1x
f(x)
L(x)
![Page 7: Chapter III. Numerical Integration for Ship Forms Review of CVEN 302](https://reader036.vdocuments.mx/reader036/viewer/2022081516/56649d4b5503460f94a2976a/html5/thumbnails/7.jpg)
Multiple Applications of Trapezoidal RuleMultiple Applications of Trapezoidal Rule
)()()()()(
)()()()()()(
)()()()(
n1ni10
n1n2110
x
x
x
x
x
x
b
a
xfxf2x2fxf2xf2
h
xfxf2
hxfxf
2
hxfxf
2
h
dxxfdxxfdxxfdxxfn
1n
2
1
1
0
x0 x1x
f(x)
x2h h x3h h x4
n
abh
![Page 8: Chapter III. Numerical Integration for Ship Forms Review of CVEN 302](https://reader036.vdocuments.mx/reader036/viewer/2022081516/56649d4b5503460f94a2976a/html5/thumbnails/8.jpg)
Simpson’s 1/3-Rule (single application)Simpson’s 1/3-Rule (single application)• Approximate the function by a
parabola
)()()(
)()()()()(
210
221100i
2
0ii
b
a
xfxf4xf3
h
xfcxfcxfcxfcdxxf
x0 x1x
f(x)
x2h h
L(x)
![Page 9: Chapter III. Numerical Integration for Ship Forms Review of CVEN 302](https://reader036.vdocuments.mx/reader036/viewer/2022081516/56649d4b5503460f94a2976a/html5/thumbnails/9.jpg)
Multiple Applications of Simpson’s 1/3 RuleMultiple Applications of Simpson’s 1/3 Rule
Applicable only if the number of segments is even
![Page 10: Chapter III. Numerical Integration for Ship Forms Review of CVEN 302](https://reader036.vdocuments.mx/reader036/viewer/2022081516/56649d4b5503460f94a2976a/html5/thumbnails/10.jpg)
Multiple Applications of Simpson’s 1/3 RuleMultiple Applications of Simpson’s 1/3 Rule
n
abh
1n
531i
2n
642jnji0 xfxf2xf4xf
n3
abI
,, ,,
)()()()()(
6
xfxf4xfh2
6
xfxf4xfh2
6
xfxf4xfh2I
n1n2n
432210
)()()(
)()()()()()(
n must be even
![Page 11: Chapter III. Numerical Integration for Ship Forms Review of CVEN 302](https://reader036.vdocuments.mx/reader036/viewer/2022081516/56649d4b5503460f94a2976a/html5/thumbnails/11.jpg)
Simpson’s 3/8-Rule (single application)Simpson’s 3/8-Rule (single application)
Approximate by a cubic polynomial
)()()()(
)()()()()()(
3210
33221100i
3
0ii
b
a
xfxf3xf3xf8
h3
xfcxfcxfcxfcxfcdxxf
x0 x1x
f(x)
x2h h
L(x)
x3h
![Page 12: Chapter III. Numerical Integration for Ship Forms Review of CVEN 302](https://reader036.vdocuments.mx/reader036/viewer/2022081516/56649d4b5503460f94a2976a/html5/thumbnails/12.jpg)
Tchebycheff’s rule
Sum of ordinates (stations)Length
# of ordinatesI
See Table 4.3 at p58
•Positions of ordinates (stations) depending on how many ordinates are used
•Odd # of ordinates is preferred