Skip to content

Instantly share code, notes, and snippets.

@chembott
Created April 15, 2018 00:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chembott/d350a6d65fc0028e1ec1a11062ce3d76 to your computer and use it in GitHub Desktop.
Save chembott/d350a6d65fc0028e1ec1a11062ce3d76 to your computer and use it in GitHub Desktop.
function x f(x)
f(x1) -5 20
f(x1) -4 12
f(x1) -3 6
f(x1) -2 2
f(x1) -1 0
f(x1) 0 0
f(x1) 1 2
f(x1) 2 6
f(x1) 3 12
f(x1) 4 20
f(x1) 5 30
f(x2) -5 22
f(x2) -4 14
f(x2) -3 8
f(x2) -2 4
f(x2) -1 2
f(x2) 0 2
f(x2) 1 4
f(x2) 2 8
f(x2) 3 14
f(x2) 4 22
f(x2) 5 32
f(x3) -5 25
f(x3) -4 17
f(x3) -3 11
f(x3) -2 7
f(x3) -1 5
f(x3) 0 5
f(x3) 1 7
f(x3) 2 11
f(x3) 3 17
f(x3) 4 25
f(x3) 5 35
f(x4) -5 18
f(x4) -4 10
f(x4) -3 4
f(x4) -2 0
f(x4) -1 -2
f(x4) 0 -2
f(x4) 1 0
f(x4) 2 4
f(x4) 3 10
f(x4) 4 18
f(x4) 5 28
f(x5) -5 15
f(x5) -4 7
f(x5) -3 1
f(x5) -2 -3
f(x5) -1 -5
f(x5) 0 -5
f(x5) 1 -3
f(x5) 2 1
f(x5) 3 7
f(x5) 4 15
f(x5) 5 25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment