10 lines
226 B
Python
10 lines
226 B
Python
## Exp W. Modes of long cyclinder (1D) ##
|
|
v = 343 #speed of sound
|
|
L = 0.4 #length of tube
|
|
f = [] #frequencies
|
|
|
|
for n in range(1,11):
|
|
|
|
f.append((v*n)/(2*L))
|
|
print(str(n) + ': ' + str(f[n-1]) + ' Hz')
|
|
|