summaryrefslogtreecommitdiff
path: root/1964/CH12/EX12.3/ex12_3.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1964/CH12/EX12.3/ex12_3.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1964/CH12/EX12.3/ex12_3.sce')
-rwxr-xr-x1964/CH12/EX12.3/ex12_3.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/1964/CH12/EX12.3/ex12_3.sce b/1964/CH12/EX12.3/ex12_3.sce
new file mode 100755
index 000000000..fda2159f5
--- /dev/null
+++ b/1964/CH12/EX12.3/ex12_3.sce
@@ -0,0 +1,19 @@
+//Chapter-12, Example 12.3, Page 342
+//=============================================================================
+clc
+clear
+//INPUT DATA
+Vac=230;//AC supply voltage
+turnsratio=5;//turns ratio
+Rl=300;//resistance in ohms
+//CALCULATIONS
+Vs=(Vac)/(turnsratio);//transformer sceondary voltage in V
+Vm=sqrt(2)*(Vs);//maximum value of secondary voltage in V
+Vdc=Vm/(%pi);//DC output voltage in V
+PIV=Vm;//PIV of a diode in V
+Im=(Vm/Rl);//maximum value of load current in A
+Pm=(Im)^2*(Rl);//Maximum value of power delivered
+Idc=Vdc/(Rl);//average value of load current in A
+Pdc=(Idc)^2*(Rl);//average value of power delivered to load
+mprintf("Thus DC output voltage,PIV,Maximum value of power delivered,average value of power delivered to load are %2.1f V,%d V,%2.1f W,%1.2f W respectively",Vdc,PIV,Pm,Pdc);
+//=================================END OF PROGRAM======================================================================================================