Professional Documents
Culture Documents
sol =
Columns 1 through 10
Columns 11 through 16
error =
Columns 1 through 10
Columns 11 through 16
e =
0.0092
>> [sol,error,e]=diferencias_finitas_ctes(-1,1,32,1,1,0,0)
sol =
Columns 1 through 10
Columns 11 through 20
Columns 21 through 30
Columns 31 through 32
-0.1892 0
error =
Columns 1 through 10
Columns 11 through 20
Columns 21 through 30
Columns 31 through 32
0.0005 -0.0000
e =
0.0022
>> [sol,error,e]=diferencias_finitas_ctes(-1,1,100,1,1,0,0)
sol =
Columns 1 through 10
Columns 11 through 20
Columns 21 through 30
Columns 31 through 40
Columns 41 through 50
Columns 51 through 60
Columns 61 through 70
Columns 81 through 90
error =
1.0e-03 *
Columns 1 through 10
Columns 11 through 20
Columns 21 through 30
Columns 31 through 40
Columns 41 through 50
Columns 51 through 60
Columns 61 through 70
Columns 71 through 80
Columns 81 through 90
e =
2.1141e-04
>>