Created
April 22, 2019 05:35
-
-
Save tcgriffith/b148e324383957acb124623e1d3f2d72 to your computer and use it in GitHub Desktop.
cth.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` 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