summaryrefslogtreecommitdiff
path: root/3754/CH6/EX6.4/6_4.sce
blob: 0b17908e709b3c49f8778f377175b02cf5b088a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clear//

//Variables

f = 69.0                //frequency (in Mega-hertz)

//Calculation

T = 1/f                 //Time period (in micro-seconds)

//Result

printf("\n Time period is  %0.2f ns.",T * 10**3)