All my answer agree with your to many decimal places except problems 4 and 5, which are different by 1e-5 or 1e-6. I can't tell whether it is p or t that is different.
Thanks, but it didn't help. My results for 4 and 5 (and *only* for 4 and 5) are different by a *relative* error of 1e-5 and you put in an *absolute* tolerance of 1e-7. That is something like a relative error of nearly 1e-11. I don't think we're going to make it unless we figure out why the target values in those two cases are so far out of line with the others.
I used the following constants:
I see. I have checked on the web and there seems to be a wide disagreement on the conversion factor between amu and kg. After the first 4 digits, all bets are off. Using your value of Av makes the cases 4,5 work though. Thanks!
What is the next step in Conway's Life?
Smallest distance between a point and a rectangle
Circular Primes (based on Project Euler, problem 35)
Find the definite integral of various linear functions
Too Many Zeros, Dump Them!
Nuclear Binding Energy
AES MixColumns() Transformation
Find R*Rp-N*Np=1 given gcd(R,N)=1
Number Theoretic Transform (NTT)
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