Solve Systems of Equation with Complex Coefficients

Discussion around the Swiss Micros DM42 calculator.
Post Reply
gduncan
Posts: 12
Joined: Sat Mar 03, 2018 2:18 pm

Solve Systems of Equation with Complex Coefficients

Post by gduncan » Wed Nov 07, 2018 4:15 pm

Is there a way to solve a system of equations on the DM42 with complex coefficients? i.e. A*X=B; where A contains complex numbers of the form a+jb.
Any help would be appreciated.

Thanks,

Greg

Logan
Posts: 20
Joined: Sat Jul 08, 2017 11:03 pm

Re: Solve Systems of Equation with Complex Coefficients

Post by Logan » Wed Nov 07, 2018 5:30 pm

Perhaps I'm misunderstanding but would it be the same as with a regular matrix but just using a complex matrix?

Create the empty matrix, press Enter to duplicate it, then press COMPLEX to create a complex matrix. Then fill in the matrix with the complex numbers?

Create correctly sized matrix A, duplicate it, turn it complex, and then edit it to fill in the complex numbers.
Create correctly sized matrix B, duplicate it, turn it complex, and then edit it to fill in the complex numbers.
Inverse A, then multiply it by B (A^-1 in y-register, B in X).
DM42 SN 210

gduncan
Posts: 12
Joined: Sat Mar 03, 2018 2:18 pm

Re: Solve Systems of Equation with Complex Coefficients

Post by gduncan » Wed Nov 07, 2018 6:28 pm

Thank you for this information. This is exactly what I needed to know.

whuyse
Posts: 27
Joined: Thu Dec 21, 2017 12:23 pm

Re: Solve Systems of Equation with Complex Coefficients

Post by whuyse » Thu Nov 08, 2018 1:43 am

Logan wrote:
Wed Nov 07, 2018 5:30 pm
Inverse A, then multiply it by B (A^-1 in y-register, B in X).
With B in Y and A in X, divide. This is both faster and more accurate than inverting A, then multiplying by B.

Cheers, Werner
42S #3249S01123
DM42 #00345

User avatar
Walter
Posts: 793
Joined: Tue May 02, 2017 9:13 am
Location: Close to FRA, Germany

Re: Solve Systems of Equation with Complex Coefficients

Post by Walter » Thu Nov 08, 2018 7:23 am

gduncan wrote:
Wed Nov 07, 2018 4:15 pm
Is there a way to solve a system of equations on the DM42 with complex coefficients? i.e. A*X=B; where A contains complex numbers of the form a+jb.
Any help would be appreciated.
There's a very nice manual available for the HP-42S which is the mother of Free42 which is the mathematical part of the SW running on the DM42. Just search the web a bit. 8-)
DM42 SN: 00041 --- Follower of Platon.

HP-35, HP-45, ..., HP-50, WP 34S, WP 31S, DM16L

grsbanks
Posts: 709
Joined: Tue Apr 25, 2017 9:23 am
Location: Preston, Lancs, UK

Re: Solve Systems of Equation with Complex Coefficients

Post by grsbanks » Thu Nov 08, 2018 7:43 am

Not SwissMicros staff, just an enthusiast.

Post Reply