Answers for "developpement limité sinus python"

0

developpement limité sinus python

import math
def sin(x,n):
    z = 0
    for i in range(n+1):
        z = z + ( (-1)**i / math.factorial(2*i+1) ) * x**(2*i+1)
    return float("{:.4f}".format(z))
Posted by: Guest on June-04-2021

Python Answers by Framework

Browse Popular Code Answers by Language