Skip to content

Instantly share code, notes, and snippets.

@ab-gh
Created July 2, 2020 16:49
Show Gist options
  • Save ab-gh/fab992d11eb1d3eea406d090dd0b56c5 to your computer and use it in GitHub Desktop.
Save ab-gh/fab992d11eb1d3eea406d090dd0b56c5 to your computer and use it in GitHub Desktop.

Ex 1

Length: 30
23rd Element: Vanadium

Ex 2

['Sodium', 'Silicon', 'Sulphur', 'Scandium']
['Neon', 'Iron', 'Zinc']

Ex 3

Area : 0.5

Ex 4

3.414213562373095

Ex 5

Pi error for 2^2 = 32.5%
Pi error for 2^3 = 14.7%
Pi error for 2^4 = 6.9%
Pi error for 2^5 = 3.3000000000000003%
Pi error for 2^6 = 1.6%
Pi error for 2^7 = 0.8%
Pi error for 2^8 = 0.4%
Pi error for 2^9 = 0.2%
Pi error for 2^10 = 0.1%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment