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

Precalculate common angles for trigonometric functions #269

Closed
sys27 opened this issue Jul 5, 2020 · 1 comment · Fixed by #292
Closed

Precalculate common angles for trigonometric functions #269

sys27 opened this issue Jul 5, 2020 · 1 comment · Fixed by #292
Assignees
Milestone

Comments

@sys27
Copy link
Owner

sys27 commented Jul 5, 2020

deg rad sin cos tan cot sec csc
0 0 0 1 0 - 1 -
30 pi/6 1/2 sqrt(3)/2 sqrt(3)/3 sqrt(3) 2sqrt(3)/3 2
45 pi/4 sqrt(2)/2 sqrt(2)/2 1 1 sqrt(2) sqrt(2)
60 pi/3 sqrt(3)/2 1/2 sqrt(3) sqrt(3)/3 2 2sqrt(3)/3
90 pi/2 1 0 - 0 - 1
120 2pi/3 sqrt(3)/2 -1/2 -sqrt(3) -sqrt(3)/3 -2 2sqrt(3)/3
135 3pi/4 sqrt(2)/2 -sqrt(2)/2 -1 -1 -sqrt(2) sqrt(2)
150 5pi/6 1/2 -sqrt(3)/2 -sqrt(3)/3 -sqrt(3) -2sqrt(3)/3 2
180 pi 0 -1 0 - -1 -
210 7pi/6 -1/2 -sqrt(3)/2 sqrt(3)/3 sqrt(3) -2sqrt(3)/3 -2
225 5pi/4 -sqrt(2)/2 -sqrt(2)/2 1 1 -sqrt(2) -sqrt(2)
240 4pi/3 -sqrt(3)/2 -1/2 sqrt(3) sqrt(3)/3 -2 -2sqrt(3)/3
270 3pi/2 -1 0 - 0 - -1
300 5pi/3 -sqrt(3)/2 1/2 -sqrt(3) -sqrt(3) -2 2sqrt(3)/3
315 7pi/4 -sqrt(2)/2 sqrt(2)/2 -1 -1 sqrt(2) sqrt(2)
330 11pi/6 -1/2 sqrt(3)/2 -sqrt(3)/3 -sqrt(3)/3 2sqrt(3)/3 2
360 2pi 0 1 0 - 1 -

See #268

@sys27 sys27 added this to the xFunc 4.0.0 milestone Jul 5, 2020
@sys27 sys27 self-assigned this Aug 27, 2020
@sys27
Copy link
Owner Author

sys27 commented Aug 27, 2020

Or pre-calculate function (sin, cos, etc) for any number.

@sys27 sys27 added the question label Aug 29, 2020
@sys27 sys27 changed the title Add simplification rules for trigonometric functions Precalculate common angles for trigonometric functions Aug 31, 2020
@sys27 sys27 removed the question label Aug 31, 2020
@sys27 sys27 linked a pull request Aug 31, 2020 that will close this issue
sys27 added a commit that referenced this issue Aug 31, 2020
* Close #269 - Precalculate common angles for trigonometric functions

* Fix ComplexNumber format
sys27 added a commit that referenced this issue Aug 31, 2020
* Close #269 - Precalculate common angles for trigonometric functions

* Fix ComplexNumber format
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant