summaryrefslogtreecommitdiff
path: root/374/CH6/EX6.8/68.sci
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /374/CH6/EX6.8/68.sci
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 '374/CH6/EX6.8/68.sci')
-rw-r--r--374/CH6/EX6.8/68.sci15
1 files changed, 15 insertions, 0 deletions
diff --git a/374/CH6/EX6.8/68.sci b/374/CH6/EX6.8/68.sci
new file mode 100644
index 000000000..0ce0599fb
--- /dev/null
+++ b/374/CH6/EX6.8/68.sci
@@ -0,0 +1,15 @@
+//chapter 6 example 8//
+clc
+clear
+//optical gain=Go,charge of the electron=e,speed of the light=c,current supplied=Ic,wavelength=l,common emitter current gain=hFE,effeciency=n//
+h=6.62*(10^-34);
+c=3*(10^8);//in mts per sec//
+e=1.6*(10^-19);//charge of the electron//
+l=1.25*(10^-6);//in mts//
+Po=130*(10^-6);//in watts//
+Ic=16*(10^-3);//in ampers//
+Go=(h*c*Ic)/(e*l*Po);
+printf("\n a) optical gain of the transistor=%f \n",Go)
+n=0.45;
+hFE=Go/n;
+printf("\n b) common emitter current gain=%f \n",hFE) \ No newline at end of file