HP50G and solving equations with complex numbers
|
03-04-2017, 11:21 PM
Post: #9
|
|||
|
|||
RE: HP50G and solving equations with complex numbers
To solve systems of linear equations with complex coefficients you can use both LINSOLVE and SOLVE:
Code: [ '(1+i)*X-Y=i' '(1-i)*X+(1+i)*Y=1' ] [ 'X' 'Y' ] LINSOLVE returns Code: { [ '(1+i)*X-Y=i' '(1-i)*X+(1+i)*Y=1' ] [ 'X' 'Y' ] } to solve single equations numerically you can operate directly on the stack: to enter complex numbers in polar form can be useful these programs: Code: \<< \-> X Y \<< { X Y } XNUM EVAL DEG -19. SF CYLIN \->V2 \>> \>> 'PN' STO syntax: "module r" "argument φ" PN --> (r,\<)φ) ex: '\v/2' 45 PN --> (1.41421356237,\<)45.) Code: \<< -16 FS? IF THEN -16 CF ELSE -16 SF END \>> 'RP' STO RP switches from rectangular to polar notation and vice versa: (1.,1.) RP --> (1.41421356237,\<)45.) (1.41421356237,\<)45.) RP --> (1.,1.) however, for more complex equations and non-linear systems for better use SolveSys as suggested by Han: SolveSys 49 1.2 http://www.hpcalc.org/details/3145 SolveSys 49 Documentation http://www.hpcalc.org/details/3146 Furthermore I strongly suggest you read the Complex Numbers Marathon: http://www.hpcalc.org/details/5114 |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
HP50G and solving equations with complex numbers - jgharris - 02-28-2017, 03:00 AM
RE: HP50G and solving equations with complex numbers - Han - 02-28-2017, 04:07 AM
RE: HP50G and solving equations with complex numbers - Vtile - 02-28-2017, 10:11 AM
RE: HP50G and solving equations with complex numbers - Gerson W. Barbosa - 02-28-2017, 12:16 PM
RE: HP50G and solving equations with complex numbers - Vtile - 02-28-2017, 01:39 PM
RE: HP50G and solving equations with complex numbers - Han - 02-28-2017, 12:26 PM
RE: HP50G and solving equations with complex numbers - Vtile - 02-28-2017, 07:22 PM
RE: HP50G and solving equations with complex numbers - jgharris - 02-28-2017, 08:25 PM
RE: HP50G and solving equations with complex numbers - Simone Cerica - 03-04-2017 11:21 PM
|
User(s) browsing this thread: 1 Guest(s)