Post Reply 
Convert Foster Netowrk to Cauer
06-05-2024, 08:12 AM
Post: #9
RE: Convert Foster Netowrk to Cauer
Are you serious about this artificial intelligence or are you just joking?
After all, the above-mentioned the algorithm created by artificial intelligence is pathetic.
It is division with the remainder obtained by laborious subtraction of the divisor (sic!).
If you don't believe it, give him 1000000 and 3 - it will take a while.

But back to the topic, enough of this mockery.
Following the link:
https://www.mathworks.com/help/sps/ref/e...oster.html
I see a continued fraction and the word "Euclid".

It is known that a rational fraction can be expressed as a continued fraction.
The "numbers" of this continued fraction can be obtained using the Euclidean Algorithm.

And that's probably what it comes down to.

Simple numerical example:
35/16=?
Euclid's algorithm:
35 = 2*16 + 3
16 = 5* 3 + 1
3 = 3* 1 + 0 End

The numbers after the "=" signs (2,5,3) are the consecutive numbers of the continued fraction, i.e.:

35/16 = 2 + 1 / (5 + 1/3)
Write it down as a fraction on a piece of paper so you can see it better.

And now HP-Prime comes into action:

dfc(35/16) –> [2,5,3]

and vice versa:

dfc2f([2,5,3]) –> 35/16

Regards.

PS.
I have always said that with this artificial intelligence it is "much ado about nothing".
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Convert Foster Netowrk to Cauer - KeithB - 06-03-2024, 01:48 PM
RE: Convert Foster Netowrk to Cauer - hp-zl - 06-05-2024 08:12 AM
RE: Convert Foster Netowrk to Cauer - jte - 06-07-2024, 03:09 AM



User(s) browsing this thread: 1 Guest(s)