(32SII) Solving a Single Congruence Equation for the HP 32Sii
|
01-16-2014, 03:16 AM
(This post was last modified: 06-15-2017 01:30 PM by Gene.)
Post: #1
|
|||
|
|||
(32SII) Solving a Single Congruence Equation for the HP 32Sii
The program solves for x in the equation:
A * x = B mod N Examples: 4 * x = 6 mod 7 A = 4, B = 6, N = 7 Solution: 5 5 * x = 3 mod 17 A = 5, B = 3, N = 17 Solution: 4 11 * x = 3 mod 16 A = 11, B = 3, N = 16 Solution: 9 Main Routine: Label C Subroutines: D, E No pre-storing any variables required. If there is no solution, an error is produced. To Run: XEQ C Code:
|
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(32SII) Solving a Single Congruence Equation for the HP 32Sii - Eddie W. Shore - 01-16-2014 03:16 AM
RE: Solving a Single Congruence Equation for the HP 32Sii - Thomas Klemm - 01-16-2014, 05:58 AM
RE: Solving a Single Congruence Equation for the HP 32Sii - Thomas Klemm - 01-17-2014, 09:04 PM
RE: (32SII) Solving a Single Congruence Equation for the HP 32Sii - Albert Chan - 03-06-2019, 04:50 AM
RE: (32SII) Solving a Single Congruence Equation for the HP 32Sii - Albert Chan - 03-10-2019, 07:41 PM
|
User(s) browsing this thread: 1 Guest(s)