Created
December 8, 2023 21:32
-
-
Save PatheticMustan/4e2bf2b4d16c298fbdcaf8e25c20b910 to your computer and use it in GitHub Desktop.
just some quick scratchpad calculations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const times = [0.01127,0.01199,0.01197,0.00957,0.01198,0.01104,0.01098,0.01202,0.01159,0.01206] | |
const velocity = times.map(t => 1.536*2/t); | |
const meanVelocity = velocity.reduce((a,b) => a+b, 0) / 10; | |
const stdDev = Math.sqrt(velocity.map(v => (v - meanVelocity)**2 / 10).reduce((a,b) => a+b, 0)); | |
const stdErr = stdDev / Math.sqrt(10); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment