Skip to content

Instantly share code, notes, and snippets.

@mrkschan
Created September 3, 2020 07:19
Show Gist options
  • Save mrkschan/5e88c6809c62c97bceb55c7776375bfc to your computer and use it in GitHub Desktop.
Save mrkschan/5e88c6809c62c97bceb55c7776375bfc to your computer and use it in GitHub Desktop.
compound-interest.sh
python3 -c 'import math; yr=3; rate=1.75; print(math.exp(math.log(rate)/yr))'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment