Can you loosen the tolerance to 1e-13. Cannot seem to get all my answers within tolerance.
The tight tolerances are meant to encourage analytical solutions. A tag and the problem title provide clues. Nevertheless, I've loosened the tolerance on the tests that solution 5760543 didn't pass.
Sum of first n terms of a harmonic progression
Make a simplified barcode
Create a vector whose elements depend on the previous element
Sum the Digits of a Number
Compute the harmonic numbers
Solve a nonlinear difference equation
Solve the Challenger puzzle
Create a sequence of primes p such that p > n π(p)
Compute a sum of Ramanujan
Determine whether a number is a prime self number
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office