Setting a maximum demoninator for fractions
|
10-03-2023, 05:34 AM
Post: #3
|
|||
|
|||
RE: Setting a maximum demoninator for fractions
(10-02-2023 03:53 PM)GSL007 Wrote: I can't figure out how to set the maximum denominator for fractions in the HP Prime G2. HP Prime doesn't have built-in functionality for that, but you can achieve a similar effect with the following program: Code: // Closest Fraction Usage: CF(fraction, max denominator): Example: \(CF(PI, 64) => \cfrac{201}{64}\) \(CF(1.45, 8) => \cfrac{10}{7}\) \(CF(0.12345,4) => 0\) This way, you're not limited to a denominator of 4095; you can enter much larger values (but be cautious, as it may lead to lengthy calculations). Best regards, Piotr |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)