Skip to content

Instantly share code, notes, and snippets.

@Planeshifter
Last active December 22, 2015 21:49
Show Gist options
  • Save Planeshifter/6536299 to your computer and use it in GitHub Desktop.
Save Planeshifter/6536299 to your computer and use it in GitHub Desktop.
Get PDF of sum of two Uniforms (Mathematica)
PDF[TransformedDistribution[
x + y, {Distributed[x, UniformDistribution[{0, 1}]],
Distributed[y, UniformDistribution[{-2, 2}]]}], z]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment