15c challenge: accuracy of a complex equation system
|
08-17-2023, 12:19 AM
Post: #13
|
|||
|
|||
RE: 15c challenge: accuracy of a complex equation system
Adding 2 columns, solving I3-I2 instead of I3, is slightly superior than adding 2 rows.
Code: | (100,-116.6666667) (0,266.6666667) (0,0) (0,0) | | I1 | | 10 | We get a more stable matrix. Even if I3-I2 is not super accurate, restored I3 will still be good. This translated to more accuracy for the other currents. Example, this is current residual corrections, difference of SYS(A,B) vs INV(A)*B R2 = 1e6 ohms (OP example) Code: ulp error I1 I2 I3 I4 R2 = 1e9 ohms Code: ulp error I1 I2 I3 I4 |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)