Problem 46003. Compute Khinchin's constant

Solution 3036538

Submitted on 2 Oct 2020 by James
  • Size: 11
  • This is the leading solution.
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass

2   Pass
filetext = fileread('KhinchinsConstant.m'); x = ~isempty(strfind(filetext, 'A002210')) || ~isempty(strfind(filetext, '2.68545200106')) ||... ~isempty(strfind(filetext, 'char')) || ~isempty(strfind(filetext,'str2num')) ||... ~isempty(strfind(filetext, 'urlread')); assert(~x, 'Illegal approach. Try one of the formulas on the Wolfram MathWorld page.')

Suggested Problems

More from this Author50

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!