summaryrefslogtreecommitdiff
path: root/2459/CH18/EX18.6/Ex18_6.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /2459/CH18/EX18.6/Ex18_6.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '2459/CH18/EX18.6/Ex18_6.sce')
-rw-r--r--2459/CH18/EX18.6/Ex18_6.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/2459/CH18/EX18.6/Ex18_6.sce b/2459/CH18/EX18.6/Ex18_6.sce
new file mode 100644
index 000000000..d8340ef3e
--- /dev/null
+++ b/2459/CH18/EX18.6/Ex18_6.sce
@@ -0,0 +1,24 @@
+//chapter18
+//example18.6
+//page405
+
+L=50.7d-6 // H
+C=500d-12 // F
+R=10 // ohm
+Rl=1d6 // ohm
+
+fr=1/(2*%pi*(L*C)^0.5)
+R_dc=R
+Xl=2*%pi*fr*L
+Q=Xl/R
+Rp=Q*Xl
+R_ac=Rp*Rl/(Rp+Rl)
+
+printf("resonant frequency = %.3f Hz or %.3f kHz \n",fr,fr/1000) // amswer in book is incorrect
+printf("dc load = %.3f ohm \n",R_dc)
+printf("ac load = %.3f ohm or %.3f kilo ohm \n",R_ac,R_ac/1000)
+
+// in book the aswer for resonant frequency is 106 Hz which is incorrect
+// the correct answer is 999.611 kHz
+
+// the accurate answer for ac load is 10.038 kilo ohm