blob: d0821b926c80e3c33a7ed0b38d470a522e780f69 (
plain)
1
2
3
4
5
6
7
8
9
|
//chapter 12
//example 12.10
//page 429
t1=83.33;
Vr=100*10^-3;// reference voltage
Vi=100*10^-3;//input voltage
Cf=12*10^3;//clock frequency
DIGITALVout=Cf*t1*(Vi/Vr)
disp(DIGITALVout)
|