summaryrefslogtreecommitdiff
path: root/978/CH7/EX7.10/Example7_10.sce
blob: e7c463505cde1906a4ea77acbca5f0e04eaa0814 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//chapter-7,Example7_10,pg 498

n=10*10^2//scale factor=(1/n)

fc=10*10^5//clock frequency

N=10//count

Tp=(n/fc)*N//time between events

printf("time between events\n")

printf("Tp=%.4f s",Tp)