Skip to content

Instantly share code, notes, and snippets.

@ahmet-cetinkaya
Created November 24, 2020 10:08
Show Gist options
  • Save ahmet-cetinkaya/ae406f8c4aacc07b957e449baa21c1dd to your computer and use it in GitHub Desktop.
Save ahmet-cetinkaya/ae406f8c4aacc07b957e449baa21c1dd to your computer and use it in GitHub Desktop.
Find the mean, variance, and standard deviation in PERT
const meanAndVariance = (a, m, b) => ({"Mean": (a + 4 * m + b) / 6, "Standard Deviation": (b - a) / 6, "Variance": ((b - a) / 6) ** 2});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment