mandli / intro-numerical-methods

Jupyter notebooks and other materials developed for the Columbia course APMA 4300
Creative Commons Attribution 4.0 International
278 stars 398 forks source link

Maybe not a mistake in 04_error? #25

Closed kswanberg closed 8 years ago

kswanberg commented 8 years ago

In the code for the "2-digit precision base 2 system" in the 04_error notebook, we see the system defined as follows:

axes.plot( (d1 + d2 * 0.1) * 2E, 0.0, 'r+', markersize=20) axes.plot(-(d1 + d2 * 0.1) * 2E, 0.0, 'r+', markersize=20)

Shouldn't the 0.1 be 0.5, since this is binary and not decimal (or maybe I am missing something)?

mandli commented 8 years ago

Yeah, that was a typo.