diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3523/CH16/EX16.7.1/Ex16_1.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3523/CH16/EX16.7.1/Ex16_1.sce')
-rw-r--r-- | 3523/CH16/EX16.7.1/Ex16_1.sce | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/3523/CH16/EX16.7.1/Ex16_1.sce b/3523/CH16/EX16.7.1/Ex16_1.sce new file mode 100644 index 000000000..f60e630df --- /dev/null +++ b/3523/CH16/EX16.7.1/Ex16_1.sce @@ -0,0 +1,28 @@ +clear all
+clc
+close
+
+iload=5*1e-3;//Load current in A
+
+//Capacitances of Cockcroft-Waltobn type voltage doubler in F
+C1=0.01*1e-6;
+C2=0.05*1e-6;
+
+f=50;//frequency in Hz
+Vs=100*1e3//Supply voltage in V
+
+//Ripple voltage in volt
+dv=iload/(C2*f)
+printf('Ripple voltage in V %f',dv)
+
+//Voltage drop in Volt
+Vdrop=iload/f*(1/C1+1/(2*C2))
+printf('Voltage drop in V %f',Vdrop)
+
+//Average output voltage
+V_av=2*sqrt(2)*Vs-Vdrop//in V
+printf('Avarage voltage in V %f',V_av)
+
+//Ripple factor
+RF=Vdrop/(2*sqrt(2)*Vs)*100//in percentage
+printf('Ripple voltage in percentage %f',RF)
|