File:Harmonic numbers.svg
| Uploaded by | HilberTraum |
|---|---|
| Upload date | 2016-02-16T13:03:28Z |
| MIME type | image/svg+xml |
| Dimensions | 630 × 630 px |
| File size | 36.2 KB |
Summary
| Description |
English: Harmonic numbers H_k with ln(x) + gamma and ln(x) + 1 |
| Date | |
| Source | Own work |
| Author | HilberTraum |
Licensing
I, the copyright holder of this work, hereby publish it under the following license:
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
R source:
n <- 50 k <- 1:n Hk <- cumsum(1/k) svg(point=16) old.par <- par(mar=c(5.1,4.1,1.1,1.1)) plot(k, Hk, col="red", pch=20, ylim=c(0,5), ylab=expression(H[k])) curve(log(x) - digamma(1), lty=2, add=TRUE) curve(log(x) + 1, lty= 2, add=TRUE) par(old.par) dev.off()