Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in expansion of sin and cos using exponentials #364

Merged
merged 1 commit into from
Nov 13, 2023
Merged

Conversation

navidcy
Copy link
Member

@navidcy navidcy commented Nov 13, 2023

No description provided.

@glwagner
Copy link
Member

Can you explain?

@navidcy
Copy link
Member Author

navidcy commented Nov 13, 2023

Can you explain?

cosx = 1/2 [exp(ix) + exp(-ix)]
sinx = 1/2i [exp(ix) - exp(-ix)]

The minus from second exponential was missing.

@navidcy navidcy merged commit 1d5850a into main Nov 13, 2023
5 checks passed
@navidcy navidcy deleted the ncc/fix-typo branch November 13, 2023 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants