ef f(t):
return np.sin(3*t)
def f1(x):
return x/3
t1=np.arange(-10,10,0.001)
t2=np.arange(-10,10,0.002)
plt.figure(1,figsize=(8,6))
plt.subplot(211)
plt.plot(t1,f(t1))
plt.plot(t2,f1(t2))
plt.show()
ef f(t):
return np.sin(3*t)
def f1(x):
return x/3
t1=np.arange(-10,10,0.001)
t2=np.arange(-10,10,0.002)
plt.figure(1,figsize=(8,6))
plt.subplot(211)
plt.plot(t1,f(t1))
plt.plot(t2,f1(t2))
plt.show()