Files
dotfile/.config/Code/User/History/4e8a5453/x6c2.py
T
2024-09-15 22:10:50 +02:00

13 lines
181 B
Python

from math import *
from matplotlib.pyplot import plot,show
from numpy import *
T = 2*pi
N = 100
t = arange(0., 2*T, T/N)
def e1(x):
return sin(2*pi*x/T)
plot(t, e1(t))
show()