blob: 23d2c3241363da329f42490006895e0b325fc4e8 (
plain)
1
2
3
4
5
6
7
8
9
10
|
//Variable declaration
e=1.6*10**-19
V=1*10
h=6.625*10**-34
//Calculations
v=(2*e*V**-3)/h
//Result
printf('Frequency of generated microwaves= %0.3f *10**9 Hz \n',(v/10**9))
|