From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1964/CH12/EX12.5/ex12_5.sce | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 1964/CH12/EX12.5/ex12_5.sce (limited to '1964/CH12/EX12.5') diff --git a/1964/CH12/EX12.5/ex12_5.sce b/1964/CH12/EX12.5/ex12_5.sce new file mode 100755 index 000000000..8e01d9ad5 --- /dev/null +++ b/1964/CH12/EX12.5/ex12_5.sce @@ -0,0 +1,18 @@ +//Chapter-12, Example 12.5, Page 344 +//============================================================================= +clc +clear +//INPUT DATA +Imax=400*10^-3;//maximum value of current in mA +Iav=150*10^-3;//average value of current in mA +Vs=100;//maximum value of secondary voltage in V +//CALCULATIONS +//we know that maximum value of current does not exceed 80 percentage +Imax1=0.8*Imax;//maximum value of current in mA +Vm=sqrt(2)*(Vs);//maximum value of secondary voltage in V +Rl=(Vm)/(Imax1);//value of load resistor in ohms +Vdc=(2*Vm)/(%pi);//DC(load) voltage +Idc=Vdc/(Rl);//DC load current in A +PIV=2*Vm;//PIV of each diode +mprintf("Thus value of load resistor,voltage,current and PIV of each diode are %1.0f ohms,%d V,%1.3f A and %3.1f V respectively",Rl,Vdc,Idc,PIV); +//=================================END OF PROGRAM====================================================================================================== -- cgit