summaryrefslogtreecommitdiff
path: root/2885/CH3/EX3.10
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2885/CH3/EX3.10
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 '2885/CH3/EX3.10')
-rwxr-xr-x2885/CH3/EX3.10/ex3_10.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/2885/CH3/EX3.10/ex3_10.sce b/2885/CH3/EX3.10/ex3_10.sce
new file mode 100755
index 000000000..86816a4c6
--- /dev/null
+++ b/2885/CH3/EX3.10/ex3_10.sce
@@ -0,0 +1,18 @@
+//find dc power supplied to load and efficiency and PIV rating of the diode
+clear;
+clc;
+//soltion
+//given
+rf=2;//Ω//Dynamic forward resistance
+Rs=5;//Ω//resistaqnce of secondary
+Rl=25;//Ω//Load resistance
+Idc=0.1;//A//dc current to a load
+Pdc=Idc^2*Rl; //dc power
+n=(81.2*Rl)/(Rl+rf+Rs); //efficiency
+Im=(%pi*Idc)/2; //peak value current
+Vm=Im*(Rl+rf+Rs); //peak voltage
+Vlm=Vm-Im*(rf+Rs); //peak voltage across load
+PIV=Vm+Vlm;
+printf("The dc power supplied to the load is %.2f W\n",Pdc);
+printf("Efficiency = %.2f percent\n",n);
+printf("The peak inverse voltage is %.2f V",PIV);