Obooksy

Listen to books of every kind, without the clutter.

Text to speech for books that knows the difference between maths, code, papers, non-fiction and novels.

2.3 Derivatives58

The power rule

For any whole number n, the derivative of f(x) = xⁿ is nxⁿ⁻¹. So the slope of x³ at any point is three times x squared.

f′(x) = 3x²
“f prime of x equals three x squared”

The proof follows from the definition of the derivative (see Section 2.1):

Shown, not read

f′(x) = lim (f(x+h) − f(x)) / h

= lim ((x+h)³ − x³) / h

= 3x²

¹ For negative and fractional n, see Exercise 2.14.

58

Maths

Textbooks and lecture notes full of formulas.

Chapter 4 · Working with files112

Reading a file line by line

Loading a whole file into memory is fine for small files. For large ones, it is better to read one line at a time, so memory use stays flat however big the file gets.

Shown, not read
with open(path) as f:
    for line in f:
        handle(line.rstrip())

The file is closed automatically when the block ends, even if an error is raised [3].

³ See the language reference, section 8.5.

112

Technical books

Programming and engineering books with code.

Spacing and the strength of memory

A. Verhoeven¹ · L. Okafor² · a.verhoeven@example.edu

Reviews that are spread out over time lead to better recall than reviews that are massed together {[4, 7]}.

We tested this with 120 students over six weeks [12].

The effect was largest when the gap between reviews grew with each session [9].

We discuss what this means for course design.

References

  1. [4] Ebbinghaus, H. (1885). Memory.
  2. [7] Cepeda, N. et al. (2006).
  3. [9] Karpicke, J. (2012).

Research papers

Two columns, citations and references.

Chapter 3 · How we remember47

The forgetting curve

Memories fade quickly at first, and then more slowly [12]. The surprising part is that forgetting helps: a review that comes just as you begin to forget does more than one that comes too soon.¹

Figure 3.2 Each review flattens the curve.

¹ Ebbinghaus first measured this in 1885, using himself as the only subject.

47

Non-fiction

Books with notes, figures and references.

The Harbour203

The boat came in late, long after the lamps along the quay had been lit. Mara watched it from the window, counting the lights on its deck the way her father had taught her.

“He’s not on it,” said Tom, without looking up from his book.

She didn’t answer. She had stopped believing him the winter the ice came all the way into the bay, and

203

Fiction

Novels and stories, read without breaks.

Something else?

See a page being read, step by step.

Hear the difference on your own book.

Upload a book or a document and start listening in under a minute.