diff options
Diffstat (limited to '1757/CH9/EX9.4/EX9_4.sce')
-rwxr-xr-x | 1757/CH9/EX9.4/EX9_4.sce | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/1757/CH9/EX9.4/EX9_4.sce b/1757/CH9/EX9.4/EX9_4.sce new file mode 100755 index 000000000..c69a7d36d --- /dev/null +++ b/1757/CH9/EX9.4/EX9_4.sce @@ -0,0 +1,24 @@ +//Example9.4 // to determine the output frequency capacitor charging time of VCO
+clc;
+clear;
+close;
+Vcc = 12 ;
+Vcs = 6
+R = 10 ; // K ohm
+C = 1 ; // uF
+
+// the current through the control resistor R
+i =(Vcc-Vcs)/R ;
+disp('The current through the control resistor R is = '+string(i)+ ' mA ');
+
+// The charging time of capacitor
+t = (0.25*Vcc*C)/i ;
+disp('The charging time of capacitor is = '+string(t)+ ' msec ');
+
+// In VCO the capacitor charging and discharging time period are equal ,so the total time period of tringular and square wave forms can be written as 2*t ;
+t = ((0.5*Vcc*C)/i);
+disp('The total time period of tringular and square wave is = '+string(t)+ ' msec ');
+
+// the output frequency of VCO is
+fo = 1/t ;
+disp('The output frequency of VCO is = '+string(fo)+ ' KHz ');
|