(12C) Decimal to Fraction
|
08-09-2018, 09:30 AM
(This post was last modified: 08-09-2018 06:44 PM by Thomas Klemm.)
Post: #31
|
|||
|
|||
RE: (12C) Decimal to Fraction
Maybe I missed something but is there a reason for not using Farey sequences?
Python Code: def farey(q, n): HP-11C Code: LBL A This should also be easier to convert for the HP-12C since no subroutines are used. However the decimal number \(q\) to transform must be \(0 < q < 1\). Example 0.10322 ENTER EEX 8 [A] Y: 5,161 X: 50,000 Cheers Thomas |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)