Skip to content

Instantly share code, notes, and snippets.

@tcgriffith
Created April 22, 2019 05:35
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/b148e324383957acb124623e1d3f2d72 to your computer and use it in GitHub Desktop.
Save tcgriffith/b148e324383957acb124623e1d3f2d72 to your computer and use it in GitHub Desktop.
cth.md
``` r
cth = function(x){
y = (exp(x) + exp(-x))/(exp(x) - exp(-x))
}
x = seq(-5,5,0.1)
y = cth(x)
plot(x,y)
```
![](https://i.imgur.com/p1BBlgw.png)
<sup>Created on 2019-04-22 by the [reprex package](https://reprex.tidyverse.org) (v0.2.1)</sup>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment