Solve Systems of Equation with Complex Coefficients

Discussion around the SwissMicros DM42 calculator
Post Reply
gduncan
Posts: 18
Joined: Sat Mar 03, 2018 3:18 pm
Location: Colorado, USA

Solve Systems of Equation with Complex Coefficients

Post by gduncan »

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: 34
Joined: Sun Jul 09, 2017 1:03 am

Re: Solve Systems of Equation with Complex Coefficients

Post by Logan »

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:00210
DM41X SN:00014
gduncan
Posts: 18
Joined: Sat Mar 03, 2018 3:18 pm
Location: Colorado, USA

Re: Solve Systems of Equation with Complex Coefficients

Post by gduncan »

Thank you for this information. This is exactly what I needed to know.
whuyse
Posts: 198
Joined: Thu Dec 21, 2017 1:23 pm

Re: Solve Systems of Equation with Complex Coefficients

Post by whuyse »

Logan wrote:
Wed Nov 07, 2018 6: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
41CV†,42S,48GX,49G,DM42,DM41X,17BII,15CE, DM15L
User avatar
Walter
Posts: 3070
Joined: Tue May 02, 2017 11:13 am
Location: On a mission close to DRS, Germany

Re: Solve Systems of Equation with Complex Coefficients

Post by Walter »

gduncan wrote:
Wed Nov 07, 2018 5: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-)
WP43 SN00000, 34S, and 31S for obvious reasons; HP-35, 45, ..., 35S, 15CE, DM16L S/N# 00093, DM42β SN:00041
grsbanks
Posts: 1122
Joined: Tue Apr 25, 2017 11:23 am
Location: Preston, Lancs, UK
Contact:

Re: Solve Systems of Equation with Complex Coefficients

Post by grsbanks »

There are only 10 kinds of people in the world: those who understand binary and those who do not.
Post Reply