#Program to write log(x) for x=0.00001 tp 100000 by changing a multiplier of 10
x=range(-5,6)
from math import*
y=[10**i for i in x]
n=len(y)
z=[log(i) for i in y]
f1=open("log1.d","w")
for k in range (n):
print(y[k],z[k],file=f1)
f1.close()
x=range(-5,6)
from math import*
y=[10**i for i in x]
n=len(y)
z=[log(i) for i in y]
f1=open("log1.d","w")
for k in range (n):
print(y[k],z[k],file=f1)
f1.close()
Comments
Post a Comment