blob: 9c3b9765d15d58e5a0b2a59b6445620468268e6f (
plain)
1
2
3
4
5
6
7
8
|
//Example 8_7
clc();
clear;
//To calculate the fundamental frequency of crystal
t=0.002 //units in meters
V=5750 //units in meter per second
v=V/(2*t)*10^-6
printf("The fundamental frequency of crystal %.4f MHz",v)
|