Skip to content

Commit 72b334b

Browse files
committed
Merge branch 'master' of github.com:Ben1980/numericalIntegration
2 parents 75f6fd4 + bcfe2b2 commit 72b334b

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

romberg.plt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
set title "Romberg Parable"
2+
set xrange [0:1]
3+
set yrange [0:1.2]
4+
5+
f(x) = 5/(exp(pi)-2)*exp(2*x)*cos(x)
6+
p(a,x)= a*x**2 + 1
7+
8+
set arrow 1 from 0.5,0.001 to 0.5,0.724727 nohead lt 3
9+
set arrow 2 from 0.25,0.001 to 0.25,0.925565 nohead lt 3
10+
11+
set label 1 at 0.4,0.7
12+
set label 1 "T(1/2)" tc lt 3
13+
set label 2 at 0.15,0.9
14+
set label 2 "T(1/4)" tc lt 3
15+
16+
plot p(-1.07,x) title "p(x)"

0 commit comments

Comments
 (0)