Skip to content

Instantly share code, notes, and snippets.

@redacted
Created July 4, 2011 14:13
Show Gist options
  • Save redacted/1063374 to your computer and use it in GitHub Desktop.
Save redacted/1063374 to your computer and use it in GitHub Desktop.
Mathematica in Lisp mode
Set[f[x_],
ReplaceAll[Times[A, Exp[-x]],
First[Solve[
Equal[Integrate[Times[A, Exp[-r]], {r, -Infinity, Infinity}], 1], A]]]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment