summaryrefslogtreecommitdiff
path: root/863/CH15
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /863/CH15
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 '863/CH15')
-rw-r--r--863/CH15/EX15.1/Ex15_1.sce15
-rw-r--r--863/CH15/EX15.1/Ex15_1.txt15
-rw-r--r--863/CH15/EX15.1/Result15_1.txt6
-rw-r--r--863/CH15/EX15.2/Ex15_2.sce14
-rw-r--r--863/CH15/EX15.2/Ex15_2.txt14
-rw-r--r--863/CH15/EX15.2/Result15_2.txt6
-rw-r--r--863/CH15/EX15.3/Ex15_3.sce15
-rw-r--r--863/CH15/EX15.3/Ex15_3.txt15
-rw-r--r--863/CH15/EX15.3/Result15_3.txt4
-rw-r--r--863/CH15/EX15.4/Ex15_4.sce18
-rw-r--r--863/CH15/EX15.4/Ex15_4.txt18
-rw-r--r--863/CH15/EX15.4/Result15_4.txt4
12 files changed, 144 insertions, 0 deletions
diff --git a/863/CH15/EX15.1/Ex15_1.sce b/863/CH15/EX15.1/Ex15_1.sce
new file mode 100644
index 000000000..810482b77
--- /dev/null
+++ b/863/CH15/EX15.1/Ex15_1.sce
@@ -0,0 +1,15 @@
+//Caption:Determine the errors due to Rs and Rd
+//Ex15.1
+clc;
+clear;
+close;
+Vs=1//Source voltage(in volts)
+Rs=100//Source resistance(in ohm)
+Rl=10//Load resistance(in kilo ohm)
+Rd=30//Drain resistance(in ohm)
+Vgs=10//Gate source voltage(in volts)
+V1=-(Vs+Vgs+1)
+Id=Vs/(Rs+Rd+Rl)
+e1=(Id*Rs)*100/(Vs)
+e2=(Id*Rd)*100/(Vs)
+disp(e2,e1,'Errors due to Rs(in %) and due to Rd(in %)=') \ No newline at end of file
diff --git a/863/CH15/EX15.1/Ex15_1.txt b/863/CH15/EX15.1/Ex15_1.txt
new file mode 100644
index 000000000..810482b77
--- /dev/null
+++ b/863/CH15/EX15.1/Ex15_1.txt
@@ -0,0 +1,15 @@
+//Caption:Determine the errors due to Rs and Rd
+//Ex15.1
+clc;
+clear;
+close;
+Vs=1//Source voltage(in volts)
+Rs=100//Source resistance(in ohm)
+Rl=10//Load resistance(in kilo ohm)
+Rd=30//Drain resistance(in ohm)
+Vgs=10//Gate source voltage(in volts)
+V1=-(Vs+Vgs+1)
+Id=Vs/(Rs+Rd+Rl)
+e1=(Id*Rs)*100/(Vs)
+e2=(Id*Rd)*100/(Vs)
+disp(e2,e1,'Errors due to Rs(in %) and due to Rd(in %)=') \ No newline at end of file
diff --git a/863/CH15/EX15.1/Result15_1.txt b/863/CH15/EX15.1/Result15_1.txt
new file mode 100644
index 000000000..87a9da681
--- /dev/null
+++ b/863/CH15/EX15.1/Result15_1.txt
@@ -0,0 +1,6 @@
+Errors due to Rs(in %) and due to Rd(in %)=
+
+ 71.428571
+
+ 21.428571
+ \ No newline at end of file
diff --git a/863/CH15/EX15.2/Ex15_2.sce b/863/CH15/EX15.2/Ex15_2.sce
new file mode 100644
index 000000000..02d1bfae4
--- /dev/null
+++ b/863/CH15/EX15.2/Ex15_2.sce
@@ -0,0 +1,14 @@
+//Caption:Determine capacitance and minimum acquisition time
+//Ex15.2
+clc;
+clear;
+close;
+Vs=1//Supply voltage(in volts)
+a=0.25//Accuracy(in %)
+t=500//Holding time(in micro sec)
+Ib=500//Maximum base current(in nA)
+Rd=30//Drain Resistance(in ohm)
+v=Vs*0.1/100
+C=Ib*t*10^(-9)/v
+T=7*C*Rd
+disp(T,C,'Required capacitance(in micro farad) and acquisition time(in micro sec)=') \ No newline at end of file
diff --git a/863/CH15/EX15.2/Ex15_2.txt b/863/CH15/EX15.2/Ex15_2.txt
new file mode 100644
index 000000000..02d1bfae4
--- /dev/null
+++ b/863/CH15/EX15.2/Ex15_2.txt
@@ -0,0 +1,14 @@
+//Caption:Determine capacitance and minimum acquisition time
+//Ex15.2
+clc;
+clear;
+close;
+Vs=1//Supply voltage(in volts)
+a=0.25//Accuracy(in %)
+t=500//Holding time(in micro sec)
+Ib=500//Maximum base current(in nA)
+Rd=30//Drain Resistance(in ohm)
+v=Vs*0.1/100
+C=Ib*t*10^(-9)/v
+T=7*C*Rd
+disp(T,C,'Required capacitance(in micro farad) and acquisition time(in micro sec)=') \ No newline at end of file
diff --git a/863/CH15/EX15.2/Result15_2.txt b/863/CH15/EX15.2/Result15_2.txt
new file mode 100644
index 000000000..7b9ffa8e7
--- /dev/null
+++ b/863/CH15/EX15.2/Result15_2.txt
@@ -0,0 +1,6 @@
+Required capacitance(in micro farad) and acquisition time(in micro sec)=
+
+ 0.25
+
+ 52.5
+ \ No newline at end of file
diff --git a/863/CH15/EX15.3/Ex15_3.sce b/863/CH15/EX15.3/Ex15_3.sce
new file mode 100644
index 000000000..caa0484d0
--- /dev/null
+++ b/863/CH15/EX15.3/Ex15_3.sce
@@ -0,0 +1,15 @@
+//Caption:Determine the error due to capacitance
+//Ex15.3
+clc;
+clear;
+close;
+Vgs=10//Gate source voltage(in volts)
+C=10.5//Capacitance(in pF)
+Vs=1//Supply voltage(in volts)
+C1=0.25//Capacitance(in micro farad)
+V1=-(Vs+Vgs+1)
+Vgsm=Vs-(V1)
+Q=C*Vgsm
+Vo=Q/C1
+e=Vo*10^(-6)*100/Vs
+disp(e,'Error due to capacitance(in %)=') \ No newline at end of file
diff --git a/863/CH15/EX15.3/Ex15_3.txt b/863/CH15/EX15.3/Ex15_3.txt
new file mode 100644
index 000000000..caa0484d0
--- /dev/null
+++ b/863/CH15/EX15.3/Ex15_3.txt
@@ -0,0 +1,15 @@
+//Caption:Determine the error due to capacitance
+//Ex15.3
+clc;
+clear;
+close;
+Vgs=10//Gate source voltage(in volts)
+C=10.5//Capacitance(in pF)
+Vs=1//Supply voltage(in volts)
+C1=0.25//Capacitance(in micro farad)
+V1=-(Vs+Vgs+1)
+Vgsm=Vs-(V1)
+Q=C*Vgsm
+Vo=Q/C1
+e=Vo*10^(-6)*100/Vs
+disp(e,'Error due to capacitance(in %)=') \ No newline at end of file
diff --git a/863/CH15/EX15.3/Result15_3.txt b/863/CH15/EX15.3/Result15_3.txt
new file mode 100644
index 000000000..384eda130
--- /dev/null
+++ b/863/CH15/EX15.3/Result15_3.txt
@@ -0,0 +1,4 @@
+Error due to capacitance(in %)=
+
+ 0.0546
+ \ No newline at end of file
diff --git a/863/CH15/EX15.4/Ex15_4.sce b/863/CH15/EX15.4/Ex15_4.sce
new file mode 100644
index 000000000..73954288b
--- /dev/null
+++ b/863/CH15/EX15.4/Ex15_4.sce
@@ -0,0 +1,18 @@
+//caption:Calculate the output voltage
+//Ex15.4
+clc;
+clear;
+close;
+Vie=1//Input voltage for resistor Re(in volts)
+Vid=0//Input voltage for resistor Rd(in volts)
+Vic=1//Input voltage for resistor Rc(in volts)
+Vib=1//Input voltag for resistor Rb(in volts)
+Via=0//Input voltage for resistor Ra(in volts)
+R=16//Input Resistor(in kilo ohm)
+re=1//Resistor(in kilo ohm)
+rd=2//Resistor(in kilo ohm)
+rc=4//Resistor(in kilo ohm)
+rb=8//Resistor(in kilo ohm)
+ra=16//Resistor(in kilo ohm)
+Vo=R*((Vie/re)+(Vid/rd)+(Vic/rc)+(Vib/rb)+(Via/ra))
+disp(Vo,'Output voltage(in volts)=') \ No newline at end of file
diff --git a/863/CH15/EX15.4/Ex15_4.txt b/863/CH15/EX15.4/Ex15_4.txt
new file mode 100644
index 000000000..73954288b
--- /dev/null
+++ b/863/CH15/EX15.4/Ex15_4.txt
@@ -0,0 +1,18 @@
+//caption:Calculate the output voltage
+//Ex15.4
+clc;
+clear;
+close;
+Vie=1//Input voltage for resistor Re(in volts)
+Vid=0//Input voltage for resistor Rd(in volts)
+Vic=1//Input voltage for resistor Rc(in volts)
+Vib=1//Input voltag for resistor Rb(in volts)
+Via=0//Input voltage for resistor Ra(in volts)
+R=16//Input Resistor(in kilo ohm)
+re=1//Resistor(in kilo ohm)
+rd=2//Resistor(in kilo ohm)
+rc=4//Resistor(in kilo ohm)
+rb=8//Resistor(in kilo ohm)
+ra=16//Resistor(in kilo ohm)
+Vo=R*((Vie/re)+(Vid/rd)+(Vic/rc)+(Vib/rb)+(Via/ra))
+disp(Vo,'Output voltage(in volts)=') \ No newline at end of file
diff --git a/863/CH15/EX15.4/Result15_4.txt b/863/CH15/EX15.4/Result15_4.txt
new file mode 100644
index 000000000..d7238c197
--- /dev/null
+++ b/863/CH15/EX15.4/Result15_4.txt
@@ -0,0 +1,4 @@
+ Output voltage(in volts)=
+
+ 22.
+ \ No newline at end of file