12 lines
155 B
Python
12 lines
155 B
Python
from math import *
|
|
from matplotlib import plot,show
|
|
from numpy import *
|
|
|
|
T = 2*pi
|
|
N = 100
|
|
x = arange()
|
|
|
|
def e1(t):
|
|
return sin(2*pi*t/(2*T))
|
|
|
|
plot() |