tests are done

This commit is contained in:
2024-03-31 22:13:18 +03:00
parent e1449cb649
commit 830e0a0791
5 changed files with 15 additions and 12 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
from factorial import factorial as fct
def sin(x):
    sin = 1 - (x**2/fct(2)) + (x**4/fct(4)) - (x**6/fct(6)) + (x**8/fct(8)) - (x**10/fct(10))
    return round(sin, 5)
sin = 1 - (x**2/fct(2)) + (x**4/fct(4)) - (x**6/fct(6)) + (x**8/fct(8)) - (x**10/fct(10))
return round(sin, 5)