summaryrefslogtreecommitdiff
path: root/3775/CH2/EX2.6/Ex2_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3775/CH2/EX2.6/Ex2_6.sce')
-rw-r--r--3775/CH2/EX2.6/Ex2_6.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/3775/CH2/EX2.6/Ex2_6.sce b/3775/CH2/EX2.6/Ex2_6.sce
new file mode 100644
index 000000000..7da826e21
--- /dev/null
+++ b/3775/CH2/EX2.6/Ex2_6.sce
@@ -0,0 +1,21 @@
+//Ex 2.6 page 70
+
+clc;
+clear;
+close;
+
+VS=3;// kV
+IS=750;// A
+
+VD=800;// V
+ID=175;// A
+dr=30/100;// de-rating factor
+IB=8;//mA
+delQ=30;// u Coulomb
+// dr = 1-IS/np*ID
+np = round(IS/(1-dr)/(ID)) ; // no. of parallel string
+ns = round(VS*1000/(1-dr)/(VD)) ; // no. of series string
+R=(ns*VD-VS*1000)/(ns-1)/(IB/1000)/1000;//kohm
+C=(ns-1)*delQ*10**-6/(ns*VD-VS*1000)
+printf('Value of R = %.2f kohm',R)
+printf('\n Value of C = %.2e F',C)