summaryrefslogtreecommitdiff
path: root/3622/CH10/EX10.1/Ex10_1.sce
blob: bf6f73151210315381d40922a8e2a9377215971c (plain)
1
2
3
4
5
6
7
//Initialisation of variables
clc
l=3e-3//vibrating length
E=8e10//young modulus
d=2500//kg per m3
N=(1/(2*l))*sqrt(E/d)
printf('frequency is %e Hz \n',N)