summaryrefslogtreecommitdiff
path: root/2459/CH14/EX14.18/Ex14_18.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /2459/CH14/EX14.18/Ex14_18.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/CH14/EX14.18/Ex14_18.sce')
-rw-r--r--2459/CH14/EX14.18/Ex14_18.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/2459/CH14/EX14.18/Ex14_18.sce b/2459/CH14/EX14.18/Ex14_18.sce
new file mode 100644
index 000000000..6c34bbbaf
--- /dev/null
+++ b/2459/CH14/EX14.18/Ex14_18.sce
@@ -0,0 +1,16 @@
+// chapter14
+// example14.18
+// page 313
+
+f=200 // Hz
+Ro=10d3 // ohm, transistor output impedence
+Zi2=2.5d3 // ohm, input impedence of next stage
+
+// since Ro=2*%pi*f*Lp, making Lp as subject we get
+Lp=Ro/(2*%pi*f)
+
+// since Zi2=2*%pi*f*Ls, making Ls as subject we get
+Ls=Zi2/(2*%pi*f)
+
+printf("primary inductance = %.1f H \n",Lp)
+printf("secondary inductance = %.1f H \n",Ls)