Lowest integer ratio
|
04-16-2023, 04:57 PM
(This post was last modified: 04-16-2023 05:08 PM by matalog.)
Post: #1
|
|||
|
|||
Lowest integer ratio
Does the HP Prime have a function that takes 2 numbers and gives their lowest integer ratio. If you put in 224 and 288 you would get 7 and 9 out.
It would be as simple as a/gcd(a,b),b/gcd(a,b). But quite often the HP Prime already has this type of thing. |
|||
04-16-2023, 05:29 PM
Post: #2
|
|||
|
|||
RE: Lowest integer ratio
If you want them separately, numer(a/b) and denom(a/b) in CAS return what you want.
If you only want the simplified fraction, just type it in CAS. Pressing Enter will return it fully simplified. Warning: Be sure that CAS is set to Exact mode, and make sure that the inputs don't contain any decimal points. <0|ΙΈ|0> -Joe- |
|||
04-16-2023, 11:43 PM
Post: #3
|
|||
|
|||
RE: Lowest integer ratio
That's great, thanks.
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)