summaryrefslogtreecommitdiff
path: root/3507/CH15/EX15.8/Ex15_8.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3507/CH15/EX15.8/Ex15_8.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 '3507/CH15/EX15.8/Ex15_8.sce')
-rw-r--r--3507/CH15/EX15.8/Ex15_8.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/3507/CH15/EX15.8/Ex15_8.sce b/3507/CH15/EX15.8/Ex15_8.sce
new file mode 100644
index 000000000..1d6ca41a1
--- /dev/null
+++ b/3507/CH15/EX15.8/Ex15_8.sce
@@ -0,0 +1,21 @@
+//chapter15
+//example15.8
+//page329
+
+del_Ic=100d-3 // ampere
+del_Vce=12 // V
+Rl=5 // ohm
+
+//case 1 : louspeaker directly connected
+V=del_Ic*Rl
+P=V*del_Ic
+
+//case2 : loudspreaker transformer coupled
+R_primary=del_Vce/del_Ic // for maximum power transfer the primary resistance should be equal to R
+n=(R_primary/Rl)^0.5
+V_secondary=del_Vce/n
+Il=V_secondary/Rl
+P_1=Il^2*Rl
+
+printf("case1 : loudspeaker connected directly \n power transferred to loudspeaker = %.3f mW \n",P*1000)
+printf("case2 : loudspeaker is transformer coupled \n power transferred to loudspeaker = %.3f mW \n",P_1*1000)