1 Pages (8 items)
confrac - decomposing a number into a continued fraction - Messages
#1 Posted: 12/9/2023 11:19:27 PM
#3 Posted: 12/10/2023 4:33:42 AM
WroteHas anyone made a function in Smath for factoring a number into a continued fraction ...
If your data set is clean from published data or collected discrete
it will convert data in scalar function, compliant to scalar derivative.
Continued fraction is the candidate ...atmosphere 0...100 km
see Ralph Karmichael ISA ... module coded in Smath.
More in IAPWS.
#5 Posted: 12/10/2023 3:13:01 PM
WroteHere is a sample for your question ...
Thank you very much for the answer. I arrived at a very similar relation, but which did not work because I omitted to declare the function variable at the beginning of the program in the right member of the definition relation. Using MathCad quite often (where the variable / variables of the function are automatically declared only by mentioning them in the left member of the definition relation) I tend to apply the same rules in Smath. Thank you again.
Greetings.
#7 Posted: 12/10/2023 11:38:59 PM
WroteHas anyone made a function in Smath for factoring a number into a continued fraction ...
Yes, in most advanced profitable.
Best to save a copy before experimenting
Jean.
ConfracNUMBER Copy.sm (46 KiB) downloaded 22 time(s).
#8 Posted: 12/11/2023 12:45:30 AM
@uni: The advantage of the relationship is that it takes up little space in the worksheet. The disadvantage of designing such a relationship is that the component functions (convert, confrac, vector) are not predefined anywhere in the program's toolbars (at least not in the version I have). Maybe in newer versions there are predefined functions for these functions.
@Jean Giraud: As a former engineer (currently retired), I base it on practice, simplicity and efficiency. Therefore, in my applications, I don't need anything else than a vector of the decomposition of a decimal fraction into a continued fraction. I used this function (confrac) to calculate the number of teeth of several pairs of gear wheels, in order to obtain a certain transfer ratio K.
On another note, everything you have presented here probably has multiple applications, depending on the field of interest. So thank you all.
Greetings.
@Jean Giraud: As a former engineer (currently retired), I base it on practice, simplicity and efficiency. Therefore, in my applications, I don't need anything else than a vector of the decomposition of a decimal fraction into a continued fraction. I used this function (confrac) to calculate the number of teeth of several pairs of gear wheels, in order to obtain a certain transfer ratio K.
On another note, everything you have presented here probably has multiple applications, depending on the field of interest. So thank you all.
Greetings.
1 Pages (8 items)
-
New Posts
-
No New Posts