Skip to content

Commit

Permalink
Merge pull request #32 from struck89/master
Browse files Browse the repository at this point in the history
Update chap02
  • Loading branch information
AllenDowney committed May 16, 2017
2 parents 4aef771 + a301ad5 commit 1e800b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/chap02.ipynb
Expand Up @@ -447,7 +447,7 @@
"source": [
"## Amplitude and phase\n",
"\n",
"Make a triangle wave."
"Make a sawtooth wave."
]
},
{
Expand Down Expand Up @@ -691,6 +691,7 @@
"outputs": [],
"source": [
"i = complex(0, 1)\n",
"spectrum = wave.make_spectrum()\n",
"spectrum.hs = magnitude * np.exp(i * angle)"
]
},
Expand Down

0 comments on commit 1e800b8

Please sign in to comment.