cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Converting Notation for Continued Fraction to single Fraction.

lvl107
20-Turquoise

Converting Notation for Continued Fraction to single Fraction.

Hello, Everybody.

Converting+Notation+for+CF+to+single+Fraction.PNG

Thanks in advance for the time and help.

Regards.

ACCEPTED SOLUTION

Accepted Solutions
rag
12-Amethyst
12-Amethyst
(To:lvl107)

OK, here you are:

F34.png

fraction3 was the first attempt and only works with two column matrices while fraction4 should work with both.

Again no errorhandling - use at your own risk 😉

See attached worksheet.

WR

View solution in original post

7 REPLIES 7
rag
12-Amethyst
12-Amethyst
(To:lvl107)

fraction is sort of a modifier for confrac and I don't think that there is a built in function which does what you want. But it's not hard to write your own - see attached file.

WR

03.11.png

lvl107
20-Turquoise
(To:rag)

Many thanks for the following function, Winfrod.

Converting+Notation+for+CF+to+single+Fraction_2+.PNG

Regards,

-LL-

lvl107
20-Turquoise
(To:rag)

If you don't mind, could I go beyond my question a bit, Winfrod :

Pic4.PNG

Best Regards,

-LL-

rag
12-Amethyst
12-Amethyst
(To:lvl107)

Loi Le schrieb:

If you don't mind, could I go beyond my question a bit, Winfrod :

Not sure what you really need. Does the problem you are working on involve continued fractions of numbers or of functions? As you have determined yourself my fraction2 only works with a single column vector as is the result if you apply confrac to a number. Its a quick hack and furthermore has no error handling whatsoever. So e.g. the last number in the vector must no be zero or the product of the last two numbers in the vector should not equal to -1.

My fraction2 does not work with those two column matrices as are created when you apply confrac to a function or confrac,matrix to a number.

What did you expected to get by applying funtion2 to the result of e(x) confrac? You sure can not excpect to get the function e(x) but rather a rational function approximating e(x) to some degree.

If you need a function dealing with those two column matrices the function has to be rewritten.

Let me know what you need.

WR

lvl107
20-Turquoise
(To:lvl107)

Hello again,

My original question was answered. I have a related question:

Pic4.PNG

Best Regards,

Loi Le.

rag
12-Amethyst
12-Amethyst
(To:lvl107)

OK, here you are:

F34.png

fraction3 was the first attempt and only works with two column matrices while fraction4 should work with both.

Again no errorhandling - use at your own risk 😉

See attached worksheet.

WR

lvl107
20-Turquoise
(To:rag)

I greatly appreciate your help, Winfrod :

Pic4.PNG

Regards,

-LL-

Announcements

Top Tags