-
-
Notifications
You must be signed in to change notification settings - Fork 108
feat: menambahkan algoritma cosinus #336
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
Conversation
math/cos.py
Outdated
| @@ -0,0 +1,56 @@ | |||
| # Menghitung cosisnus dengan menggunakan deret taylor | |||
| # https://en.wikipedia.org/wiki/Taylor_series#Trigonometric_functions | |||
| import numpy as np | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tidak menggunakan 3rd lib
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gak boleh pake numpy maksudnya bang?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bener @Ateng-labrador
|
@slowy07 clear bang |
slowy07
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gunakan type hints untuk keterjalasan kode
slowy07
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM,terima kasih atas kontribusinya @Ateng-labrador
|
terima kasih atas kontribusinya @Ateng-labrador ! |
Deskripsi (Description)
Saya menambahkan algoritma cosinus menggunakan konsep deret taylor.Di sini saya menggunkan konsep rekrusi untuk menghitung factorial dan menghitung deret taylor hingga orde 10 agar tingkat perhitungannya tepat.
Checklist:
Umum:
Contributor Requirements (Syarat Kontributor) dan Lain-Lain:
Unit Testing dan Linting:
Environment
Saya menggunakan (I'm using):
os=windowspython=py -3 -V (Windows-Python launcher)linked issue #