User Portlet
Featured Contributor
Discussions |
---|
Thank you for the opportunity to learn WL through Wolfram-U courses. Like probably many others, I am eager to brush up on them and discuss their content with others. This can help to deepen understanding, as well as correct any inaccuracies and... |
Yes, fx[n_] is basically equivalent to Rationalize, albeit a bit different. What about max=40; fx[n_] := Module[{a}, a = Take[RealDigits[SetPrecision[N[Sqrt[2]], max]][[1]], 2 ;; n]; 1 + FromDigits[a]/10^Length[a]] ... |
Thank you, Duncan, I really love your answer. I learned a lot from your code and explanation. Thank you! And sorry for my mistake in my expression. :P |
![enter image description here][1] - Congratulations! This post is now a [Staff Pick][2] as distinguished by a badge on [your profile][3]! Thank you, keep it coming, and consider contributing your work to the [The Notebook Archive][4]! [1]:... |
![enter image description here][1] - Congratulations! This post is now a [Staff Pick][2] as distinguished by a badge on [your profile][3]! Thank you, keep it coming, and consider contributing your work to the [The Notebook Archive][4]! [1]:... |