gaussseidel 1

1
Matrix A RHS Jacobi 8.000000 1.000000 -1.000000 8.000000 x1 Error1 x2 Error2 x3 Error3 Max ERROR Iteration 1.000000 ### 2.000000 -4.000000 0.000000000000 0.000000000000 ### 2.000000 1.000000 9.000000 12.000000 1.000000000000 100.0000 0.571428571429 100.0000 ### 100.0000 100.00000000 1 1.095238095238 8.6957 1.095238095238 47.8261 ### 27.2727 47.82608696 2 Inverse Matrix Solution 0.994047619048 10.1796 1.027210884354 6.6225 ### 8.1967 10.17964072 3 0.12037 0.018519 0.0092593 1.00000 0.992630385488 0.1428 0.990079365079 3.7504 ### 3.0097 3.75035786 4 0.009259 -0.13704 0.0314815 1.00000 1.001027494331 0.8388 0.998461289278 0.8395 ### 0.4429 0.83948414 5 -0.02778 0.011111 0.1055556 1.00000 1.000534836951 0.0492 1.000929637728 0.2466 ### 0.2798 0.27975096 6 0.999876624757 0.0658 1.000060015503 0.0870 ### 0.0165 0.08695700 7 0.999964729845 0.0088 0.999918904755 0.0141 ### 0.0243 0.02428890 8 1.000012730447 0.0048 1.000000889501 0.0082 ### 0.0004 0.00819847 9 1.000001994862 0.0011 1.000006632462 0.0006 ### 0.0020 0.00197763 10 0.999998804964 0.0003 0.999999448460 0.0007 ### 0.0002 0.00071840 11 0.999999921412 0.0001 0.999999492068 0.0000 ### 0.0002 0.00015071 12 1.000000104347 0.0000 1.000000082158 0.0001 ### 0.0000 0.00005901 13 Gauss-Seidel x1 Error1 x2 Error2 x3 Error3 Max ERROR Iteration 0.000000000000 0.000000000000 ### 1.000000000000 100.0000 0.714285714286 100.0000 ### 100.0000 100.00000000 1 1.039682539683 3.8168 1.014739229025 29.6089 ### 4.2648 29.60893855 2 0.996850592089 4.2967 0.996562646223 1.8239 ### 1.1525 4.29672691 3 1.000564893800 0.3712 1.000389783863 0.3826 ### 0.1251 0.38256465 4 0.999930171858 0.0635 0.999941784187 0.0448 ### 0.0191 0.06347663 5 1.000010025200 0.0080 1.000007713825 0.0066 ### 0.0025 0.00798525 6 0.999998650158 0.0011 0.999998925761 0.0009 ### 0.0004 0.00113751 7 1.000000186695 0.0002 1.000000146478 0.0001 ### 0.0000 0.00015365 8 0.999999974470 0.0000 0.999999979849 0.0000 ### 0.0000 0.00002122 9 1.000000003508 0.0000 1.000000002762 0.0000 ### 0.0000 0.00000290 10 0.999999999519 0.0000 0.999999999621 0.0000 ### 0.0000 0.00000040 11 1.000000000066 0.0000 1.000000000052 0.0000 ### 0.0000 0.00000005 12 1.000000000012 0.0000 1.000000000052 0.0000 ### 0.0000 0.00000002 13

Upload: putri-kurniasari

Post on 18-Nov-2015

216 views

Category:

Documents


3 download

DESCRIPTION

iteration

TRANSCRIPT

JacobiMatrix ARHSJacobi8.0000001.000000-1.0000008.000000x1Error1x2Error2x3Error3Max ERRORIteration1.000000-7.0000002.000000-4.0000000.0000000000000.0000000000000.0000000000002.0000001.0000009.00000012.0000001.000000000000100.00000.571428571429100.00001.333333333333100.0000100.0000000011.0952380952388.69571.09523809523847.82611.04761904761927.272747.826086962Inverse MatrixSolution0.99404761904810.17961.0272108843546.62250.9682539682548.196710.1796407230.12037037040.01851851850.00925925931.000000.9926303854880.14280.9900793650793.75040.9982993197283.00973.7503578640.0092592593-0.1370370370.03148148151.000001.0010274943310.83880.9984612892780.83951.0027399848830.44290.839484145-0.02777777780.01111111110.10555555561.000001.0005348369510.04921.0009296377280.24660.9999426357840.27980.2797509660.9998766247570.06581.0000600155030.08700.9997778542630.01650.0869570070.9999647298450.00880.9999189047550.01411.0000207483310.02430.0242889081.0000127304470.00481.0000008895010.00821.0000168483950.00040.0081984791.0000019948620.00111.0000066324620.00060.9999970721780.00200.00197763100.9999988049640.00030.9999994484600.00070.9999988197570.00020.00071840110.9999999214120.00010.9999994920680.00001.0000003268460.00020.00015071121.0000001043470.00001.0000000821580.00011.0000000739010.00000.0000590113Gauss-Seidelx1Error1x2Error2x3Error3Max ERRORIteration0.0000000000000.0000000000000.0000000000001.000000000000100.00000.714285714286100.00001.031746031746100.0000100.0000000011.0396825396833.81681.01473922902529.60890.9895439657344.264829.6089385520.9968505920894.29670.9965626462231.82391.0010817966221.15254.2967269131.0005648938000.37121.0003897838630.38260.9998311587260.12510.3825646540.9999301718580.06350.9999417841870.04481.0000219857890.01910.0634766351.0000100252000.00801.0000077138250.00660.9999969150860.00250.0079852560.9999986501580.00110.9999989257610.00091.0000004193250.00040.0011375171.0000001866950.00021.0000001464780.00010.9999999422370.00000.0001536580.9999999744700.00000.9999999798490.00001.0000000079120.00000.0000212291.0000000035080.00001.0000000027620.00000.9999999989140.00000.00000290100.9999999995190.00000.9999999996210.00001.0000000001490.00000.00000040111.0000000000660.00001.0000000000520.00001.0000000001490.00000.00000005121.0000000000120.00001.0000000000520.00000.9999999999800.00000.0000000213