blob: 4482d379eb710a77c58209b517003406f0eff112 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//Example number 3.7, Page number 3.34
clc;clear;close
// Variable declaration
e=1.6*10**-19 // eV
V=1*10 // in m^3
h=6.625*10**-34
// Calculations
v=(2*e*V**-3)/h // Hz
// Result
printf("Frequency of generated microwaves = %.2e Hz",v)
|