summaryrefslogtreecommitdiff
path: root/3836/CH2/EX2.9/Ex2_9.sce
blob: 1e0fbcb11629618819b47980a14b4d28427d100a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clear
//Initialisation
f=50                       //frequency in herts


//Calculation
t=(1*f**-1)                    //time period


//Result
printf("\n T = %d ms",t*10**3)