summaryrefslogtreecommitdiff
path: root/2825/CH21/EX21.1/Ex21_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '2825/CH21/EX21.1/Ex21_1.sce')
-rwxr-xr-x2825/CH21/EX21.1/Ex21_1.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/2825/CH21/EX21.1/Ex21_1.sce b/2825/CH21/EX21.1/Ex21_1.sce
new file mode 100755
index 000000000..def430e13
--- /dev/null
+++ b/2825/CH21/EX21.1/Ex21_1.sce
@@ -0,0 +1,11 @@
+//Ex21_1 Pg-1067
+clc
+
+disp("Refer to figure 21.10")
+
+R=5000 //resistor R in ohm
+C=0.1*10^(-6) //capacitance in farad
+tau=1.1 //time constant
+
+tON=tau*R*C //pulse width in sec
+printf(" Pulse width = %.2f msec",tON*1e3)