Решение краевых задач конечно-разностными методами (Лабораторная работа № 2), страница 3

x

Y(h=0.1)

Y(h=h/2)

Y(h=h/4)

Y*

0

 -1.85788884277116e-015

 -1.56515425620007e-015

 -6.59520181522932e-016

0

0.1

 9.99999999999796e-003

 9.99999999999828e-003

 9.99999999999928e-003

 1.00000000000000e-002

0.2

 3.99999999999978e-002

 3.99999999999981e-002

 3.99999999999992e-002

 4.00000000000000e-002

0.3

 8.99999999999976e-002

 8.99999999999980e-002

 8.99999999999992e-002

 9.00000000000000e-002

0.4

 1.59999999999997e-001

 1.59999999999998e-001

 1.59999999999999e-001

 1.60000000000000e-001

0.5

 2.49999999999997e-001

 2.49999999999998e-001

 2.49999999999999e-001

 2.50000000000000e-001

0.6

 3.59999999999997e-001

 3.59999999999997e-001

 3.59999999999999e-001

 3.60000000000000e-001

0.7

 4.89999999999997e-001

 4.89999999999997e-001

 4.89999999999998e-001

 4.90000000000000e-001

0.8

 6.39999999999997e-001

 6.39999999999997e-001

 6.39999999999998e-001

 6.40000000000000e-001

0.9

 8.09999999999997e-001

 8.09999999999997e-001

 8.09999999999998e-001

 8.10000000000000e-001

1

 9.99999999999996e-001

 9.99999999999997e-001

 9.99999999999998e-001

1

Тест 2:

x

Y(h=0.1)

Y(h=h/2)

Y(h=h/4)

Y*

0

 1.21135221865171e-002

 3.23748761273432e-003

 8.34471836871520e-004

0

0.1

 3.25939393317651e-001

 3.13549103971717e-001

 3.10186589456996e-001

 3.09016994374947e-001

0.2

 6.09310609920966e-001

 5.93551267600010e-001

 5.89273672669562e-001

 5.87785252292473e-001

0.3

 8.34709157868153e-001

 8.15899723015992e-001

 8.10793942236476e-001

 8.09016994374947e-001

0.4

 9.80270824118776e-001

 9.58887641757190e-001

 9.53079022079810e-001

 9.51056516295154e-001

0.5

 1.03192741356432e+000

 1.00857102035107e+000

 1.00221514674787e+000

1.00000000000000e+000

0.6

 9.84785647437782e-001

 9.60134143470127e-001

 9.53405278733159e-001

 9.51056516295154e-001

0.7

 8.43607785174797e-001

 8.18361456497632e-001

 8.11438803520122e-001

 8.09016994374947e-001

0.8

 6.22346939459739e-001

 5.97169662101647e-001

 5.90222826615677e-001

 5.87785252292473e-001

0.9

 3.42782585851999e-001

 3.18245846782426e-001

 3.11420953630483e-001

 3.09016994374948e-001

1

 3.23898462033763e-002

 8.92495096246305e-003

 2.33280014616371e-003

0