summaryrefslogtreecommitdiff
path: root/1370/CH1/EX1.26/chapter1_26.sce
diff options
context:
space:
mode:
Diffstat (limited to '1370/CH1/EX1.26/chapter1_26.sce')
-rwxr-xr-x1370/CH1/EX1.26/chapter1_26.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1370/CH1/EX1.26/chapter1_26.sce b/1370/CH1/EX1.26/chapter1_26.sce
new file mode 100755
index 000000000..95c95f8a0
--- /dev/null
+++ b/1370/CH1/EX1.26/chapter1_26.sce
@@ -0,0 +1,9 @@
+//example1.26
+clc
+disp("For d.c. supply frequency is 0 Hz.")
+disp("X_C=1/(2*pi*f*C)=1/0=infinity")
+disp("So capacitor gives infinite reactance in d.c. supply and acts as an open circuits.")
+disp("In an a.c. supply of 100 Hz,")
+x=1/(2*%pi*100*50*10^-6)
+format(9)
+disp(x,"X_C(in ohm)=1/(2*pi*f*C)=")