summaryrefslogtreecommitdiff
path: root/1658/CH5
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1658/CH5
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 '1658/CH5')
-rwxr-xr-x1658/CH5/EX5.1/Ex5_1.sce6
-rwxr-xr-x1658/CH5/EX5.10/Ex5_10.sce9
-rwxr-xr-x1658/CH5/EX5.11/Ex5_11.sce8
-rwxr-xr-x1658/CH5/EX5.12/Ex5_12.sce9
-rwxr-xr-x1658/CH5/EX5.13/Ex5_13.sce8
-rwxr-xr-x1658/CH5/EX5.14/Ex5_14.sce9
-rwxr-xr-x1658/CH5/EX5.15/Ex5_15.sce17
-rwxr-xr-x1658/CH5/EX5.16/5_16.pngbin0 -> 48750 bytes
-rwxr-xr-x1658/CH5/EX5.16/Ex5_16.sce13
-rwxr-xr-x1658/CH5/EX5.2/Ex5_2.sce10
-rwxr-xr-x1658/CH5/EX5.3/Ex5_3.sce11
-rwxr-xr-x1658/CH5/EX5.4/Ex5_4.sce6
-rwxr-xr-x1658/CH5/EX5.5/Ex5_5.sce5
-rwxr-xr-x1658/CH5/EX5.8/Ex5_8.sce8
-rwxr-xr-x1658/CH5/EX5.9/Ex5_9.sce9
15 files changed, 128 insertions, 0 deletions
diff --git a/1658/CH5/EX5.1/Ex5_1.sce b/1658/CH5/EX5.1/Ex5_1.sce
new file mode 100755
index 000000000..efee7a474
--- /dev/null
+++ b/1658/CH5/EX5.1/Ex5_1.sce
@@ -0,0 +1,6 @@
+clc;
+//e.g 5.1
+I0=2*10**-7;
+Vf=0.1;
+I=I0*(exp (40*Vf)-1);
+disp('uA',I*10**6,"I=");
diff --git a/1658/CH5/EX5.10/Ex5_10.sce b/1658/CH5/EX5.10/Ex5_10.sce
new file mode 100755
index 000000000..ece94b99f
--- /dev/null
+++ b/1658/CH5/EX5.10/Ex5_10.sce
@@ -0,0 +1,9 @@
+clc;
+VS=12;
+R=470;
+VD=0;
+disp(VD);
+VR=VS;
+disp('V',VR*1,"VR=");
+I=(VS/R);
+disp('mA',I*10**3,"I=");
diff --git a/1658/CH5/EX5.11/Ex5_11.sce b/1658/CH5/EX5.11/Ex5_11.sce
new file mode 100755
index 000000000..69cf1bffc
--- /dev/null
+++ b/1658/CH5/EX5.11/Ex5_11.sce
@@ -0,0 +1,8 @@
+clc;
+VS=6;
+R1=330;
+R2=470;
+VD=0.7;
+RT=R1+R2;
+I=(VS-0.7)/RT;
+disp('mA',I*10**3,"I=");
diff --git a/1658/CH5/EX5.12/Ex5_12.sce b/1658/CH5/EX5.12/Ex5_12.sce
new file mode 100755
index 000000000..31ce39ea3
--- /dev/null
+++ b/1658/CH5/EX5.12/Ex5_12.sce
@@ -0,0 +1,9 @@
+clc;
+VS=5;
+R=510;
+VF=0.7;
+VR=VS-0.7;
+disp('V',VR*1,"VR=");
+I=VR/R;
+disp('mA',I*10**3,"I=");
+
diff --git a/1658/CH5/EX5.13/Ex5_13.sce b/1658/CH5/EX5.13/Ex5_13.sce
new file mode 100755
index 000000000..947c15655
--- /dev/null
+++ b/1658/CH5/EX5.13/Ex5_13.sce
@@ -0,0 +1,8 @@
+clc;
+VS=6;
+VD1=0.7;
+VD2=0.7;
+VR=1.5*10**3;
+I=(VS-VD1-VD2)/VR;
+disp('mA',I*10**3,"I=");
+
diff --git a/1658/CH5/EX5.14/Ex5_14.sce b/1658/CH5/EX5.14/Ex5_14.sce
new file mode 100755
index 000000000..51ba8ca71
--- /dev/null
+++ b/1658/CH5/EX5.14/Ex5_14.sce
@@ -0,0 +1,9 @@
+clc;
+VS=12;
+R1=1.5*10**3;
+R2=1.8*10**3;
+VD1=0.7;
+VD2=0.7;
+I=(VS-VD1-VD2)/(R1+R2);
+disp('mA',I*10**3,"I=");
+
diff --git a/1658/CH5/EX5.15/Ex5_15.sce b/1658/CH5/EX5.15/Ex5_15.sce
new file mode 100755
index 000000000..4af94de0f
--- /dev/null
+++ b/1658/CH5/EX5.15/Ex5_15.sce
@@ -0,0 +1,17 @@
+clc;
+V1=0;
+V2=0;
+VO=0;
+disp('V',VO*1,"VO=");
+V1=0;
+V2=5;
+VO=V2-0.7;
+disp('V',VO*1,"VO=");
+V1=5;
+V2=0;
+VO=V1-0.7;
+disp('V',VO*1,"VO=");
+V1=5;
+V2=5;
+VO=V2-0.7;
+disp('V',VO*1,"VO=");
diff --git a/1658/CH5/EX5.16/5_16.png b/1658/CH5/EX5.16/5_16.png
new file mode 100755
index 000000000..9c1bb61c2
--- /dev/null
+++ b/1658/CH5/EX5.16/5_16.png
Binary files differ
diff --git a/1658/CH5/EX5.16/Ex5_16.sce b/1658/CH5/EX5.16/Ex5_16.sce
new file mode 100755
index 000000000..8f4bc0feb
--- /dev/null
+++ b/1658/CH5/EX5.16/Ex5_16.sce
@@ -0,0 +1,13 @@
+clc;
+R=20*10**3;
+I=(R-0.7)/R;
+disp('mA',I*1,"I=");
+rj=50;
+rB=1;
+re=rB+rj;
+R1=(R*re)/(re+R);
+disp(R1);
+V=10*(re/(re+1000));
+disp('mV',V*1,"V=");
+i=0:0.01:6*%pi;
+plot(sin(i));
diff --git a/1658/CH5/EX5.2/Ex5_2.sce b/1658/CH5/EX5.2/Ex5_2.sce
new file mode 100755
index 000000000..d9486b20b
--- /dev/null
+++ b/1658/CH5/EX5.2/Ex5_2.sce
@@ -0,0 +1,10 @@
+clc;
+//e.g 5.2
+I0=1*10**-3;
+Vf=0.22;
+T=298;
+n=1
+VT=T/11600
+disp('mV',VT*10**3,"VT=");
+I=I0*(exp (Vf/(n*VT))-1);
+disp('A',I*1,"I=");
diff --git a/1658/CH5/EX5.3/Ex5_3.sce b/1658/CH5/EX5.3/Ex5_3.sce
new file mode 100755
index 000000000..92f934056
--- /dev/null
+++ b/1658/CH5/EX5.3/Ex5_3.sce
@@ -0,0 +1,11 @@
+clc;
+I1=0.5*10**-3;
+V1=340*10**-3;
+I2=15*10**-3;
+V2=440*10**-3;
+kTbyq=25*10**-3;
+a=V1/kTbyq;
+b=V2/kTbyq;
+//log(I1/I2)==log(exp((b-a)/n));
+n=(a-b)/(log(I1/I2));
+disp(n);
diff --git a/1658/CH5/EX5.4/Ex5_4.sce b/1658/CH5/EX5.4/Ex5_4.sce
new file mode 100755
index 000000000..f1f4d5e04
--- /dev/null
+++ b/1658/CH5/EX5.4/Ex5_4.sce
@@ -0,0 +1,6 @@
+clc;
+I300=10*10**-6;
+T1=300;
+T2=400;
+I400=I300*(2^((T2-T1)/10));
+disp('mA',I400*10**3,"I400=");
diff --git a/1658/CH5/EX5.5/Ex5_5.sce b/1658/CH5/EX5.5/Ex5_5.sce
new file mode 100755
index 000000000..f0ba1c322
--- /dev/null
+++ b/1658/CH5/EX5.5/Ex5_5.sce
@@ -0,0 +1,5 @@
+clc;
+rB=2;
+IF=12*10**-3;
+VF=0.7+IF*rB;
+disp('V',VF*1,"VF=");
diff --git a/1658/CH5/EX5.8/Ex5_8.sce b/1658/CH5/EX5.8/Ex5_8.sce
new file mode 100755
index 000000000..d4dbd7a79
--- /dev/null
+++ b/1658/CH5/EX5.8/Ex5_8.sce
@@ -0,0 +1,8 @@
+clc;
+PD=0.5;
+VF=1;
+VBR=150;
+IF=(PD/VF);
+disp('A',IF*1,"IF=");
+IR=(PD/VBR);
+disp('mA',IR*10**3,"IR=");
diff --git a/1658/CH5/EX5.9/Ex5_9.sce b/1658/CH5/EX5.9/Ex5_9.sce
new file mode 100755
index 000000000..2d02b8bb6
--- /dev/null
+++ b/1658/CH5/EX5.9/Ex5_9.sce
@@ -0,0 +1,9 @@
+clc;
+R=330;
+VS=5;
+VD=VS;
+disp('V',VD*1,"VD=VS=");
+VR=0;
+disp(VR,"VR=");
+I=0;
+disp(I,"I=");