Skip to content

Instantly share code, notes, and snippets.

@tcgriffith
Created April 22, 2019 05:36
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 tcgriffith/cd1028befac8c0b511bf07111871aff4 to your computer and use it in GitHub Desktop.
Save tcgriffith/cd1028befac8c0b511bf07111871aff4 to your computer and use it in GitHub Desktop.
md
cth = function(x){
  y = (exp(x) + exp(-x))/(exp(x) - exp(-x))
}

x = seq(-5,5,0.1)
y = cth(x)

plot(x,y)

Created on 2019-04-22 by the reprex package (v0.2.1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment