summaryrefslogtreecommitdiff
path: root/2621/CH5/EX5.3/Ex5_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '2621/CH5/EX5.3/Ex5_3.sce')
-rw-r--r--2621/CH5/EX5.3/Ex5_3.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2621/CH5/EX5.3/Ex5_3.sce b/2621/CH5/EX5.3/Ex5_3.sce
new file mode 100644
index 000000000..bc7a43631
--- /dev/null
+++ b/2621/CH5/EX5.3/Ex5_3.sce
@@ -0,0 +1,17 @@
+// Example 5.3
+clc;
+clear;
+close;
+// Given data
+format('v',6);
+C= 0.01;// in µF
+C= C*10^-6;// in F
+f= 1;// in kHz
+f= f*10^3;// in Hz
+// For 50% duty cycle, Ton= Toff = T/2 and R_A= R_B
+// From equation, f= 1.44/((R_A+R_B)*C)= 1.44/(2*R_A*C)
+R_A= 1.44/(2*f*C);// in Ω
+R_A= R_A*10^-3;// in kΩ
+R_B= R_A;// in kΩ
+disp(R_A,"The value of R_A and R_B in kΩ : ")
+disp("(Standard value 68 kΩ)")