Problem 46081. Set Soldner's constant
Soldner's constant μ= 1.451369234883381... is connected to the logarithmic integral , which is the subject of Cody Problem 46066.
Set Soldner's constant. The test suite puts up minor resistance against directly entering the number or using simple arithmetic. Of course, you can thwart the tests easily, but I encourage you to learn about the definition of μ.
Solution Stats
Problem Comments
-
2 Comments
Rafael S.T. Vieira
on 2 Nov 2020
Tip: the Sodner's constant is the unique positive root of the Logarithmic integral function.
This problem needs a better description. For instance, it is not clear why arithmetic is banned, after all any function uses it and it is really easy to hide the constant's value within non conventional operations (the leading solution did exactly that). It would probably be best to just force the player to use some function or to suggest what kind of solution is expected.
ChrisR
on 17 Nov 2020
Thanks for the suggestion, Rafael. I edited the description. I appreciate that James also submitted a solution demonstrating understanding of the definition of Soldner's constant.
Solution Comments
Show comments
Problem Recent Solvers14
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!