#Program to write the value of tan^-1(x) for x=-10 to x=10
x=range(-1000,1000)
y=[0.01*i for i in x]
n=len(y)
from math import *
z=[atan(i) for i in y]
f3=open("tan1.d","w")
for k in range (n):
print(y[k],z[k],file=f3)
f3.close()
x=range(-1000,1000)
y=[0.01*i for i in x]
n=len(y)
from math import *
z=[atan(i) for i in y]
f3=open("tan1.d","w")
for k in range (n):
print(y[k],z[k],file=f3)
f3.close()
Comments
Post a Comment