Skip to content

Commit

Permalink
Merge pull request #364 from FourierFlows/ncc/fix-typo
Browse files Browse the repository at this point in the history
Fix typo in expansion of sin and cos using exponentials
  • Loading branch information
navidcy authored Nov 13, 2023
2 parents 2aeb05f + 28e55db commit 1d5850a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/grids.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ current_figure() # hide
Note that with the normalization we get what we expect since

```math
u(x) = \sin(2x) + \frac1{2} \cos(5x) = -\frac{i}{2} (e^{2ix} - e^{2ix}) + \frac{1}{4} (e^{5ix} + e^{5ix}) .
u(x) = \sin(2x) + \frac1{2} \cos(5x) = -\frac{i}{2} (e^{2ix} - e^{-2ix}) + \frac{1}{4} (e^{5ix} + e^{-5ix}) .
```

We can compute the derivative of ``u(x)`` via Fourier transforms. To do that we use the
Expand Down

0 comments on commit 1d5850a

Please sign in to comment.