Image:StiffEquationNumericalSolvers.svg

From Wikipedia, the free encyclopedia

StiffEquationNumericalSolvers.svg (SVG file, nominally 554 × 215 pixels, file size: 15 KB)

[edit] Summary

I made this using Gnuplot.

[edit] Gnuplot source code

set term svg 
set output 'stiff.svg'
set xrange [0:1]
set yrange [-3:3]
set size 1,0.5
plot 'h14' u 1:2 w lp pt 4 t 'Euler h=1/4', 'h18' u 1:2 w lp pt 4 t 'Euler h=1/8', 'h18adam' u 1:2 w lp pt 4 t 'Adams Moulton, h=1/8', exp(-15*x) lw 3 t 'Exact solution'

on the data files (numbers copied from previous versions of the article on Stiff equation)

#h14 (forward Euler, h=1/4)
0 1
0.25 -2.75
0.5 7.5625
0.75 -20.7969
#h18 (forward Euler, h=1/8)
0 1
0.125 -0.875
0.25 0.765625
0.375 -0.669922
0.5 0.586182
0.625 -0.512909
0.75 0.448795
#h18adam
0 1
0.125 0.0322581
0.25 0.00104058
0.375 0.00003356720 


[edit] Licensing

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeDimensionsUserComment
current14:24, 15 March 2007554×215 (15 KB)Berland (Talk | contribs) (I made this using Gnuplot. )

The following pages on the English Wikipedia link to this file (pages on other projects are not listed):