-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathquad_ithaca_g++_output.txt
56 lines (44 loc) · 1.27 KB
/
quad_ithaca_g++_output.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
QUAD_OPEN_MP:
C++/OpenMP version
Estimate the integral of f(x) from A to B.
f(x) = 50 / ( pi * ( 2500 * x * x + 1 ) ).
A = 0
B = 10
N = 10000000
Exact = 0.4993633810764567
Estimate = 0.4993712889191264
Error = 7.907842669685472e-06
W time = 0.4575988622382283
QUAD_OPEN_MP:
C++/OpenMP version
Estimate the integral of f(x) from A to B.
f(x) = 50 / ( pi * ( 2500 * x * x + 1 ) ).
A = 0
B = 10
N = 10000000
Exact = 0.4993633810764567
Estimate = 0.4993712889191463
Error = 7.907842689558464e-06
W time = 0.2379896184429526
QUAD_OPEN_MP:
C++/OpenMP version
Estimate the integral of f(x) from A to B.
f(x) = 50 / ( pi * ( 2500 * x * x + 1 ) ).
A = 0
B = 10
N = 10000000
Exact = 0.4993633810764567
Estimate = 0.4993712889191516
Error = 7.907842694832024e-06
W time = 0.1488232621923089
QUAD_OPEN_MP:
C++/OpenMP version
Estimate the integral of f(x) from A to B.
f(x) = 50 / ( pi * ( 2500 * x * x + 1 ) ).
A = 0
B = 10
N = 10000000
Exact = 0.4993633810764567
Estimate = 0.4993712889191149
Error = 7.907842658139153e-06
W time = 0.07545179035514593