summaryrefslogtreecommitdiff
path: root/3836/CH6
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3836/CH6
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 '3836/CH6')
-rw-r--r--3836/CH6/EX6.1/Ex6_1.sce16
-rw-r--r--3836/CH6/EX6.2/Ex6_2.sce11
-rw-r--r--3836/CH6/EX6.3/Ex6_3.sce14
-rw-r--r--3836/CH6/EX6.4/Ex6_4.sce11
-rw-r--r--3836/CH6/EX6.5/Ex6_5.sce17
-rw-r--r--3836/CH6/EX6.6/Ex6_6.sce11
6 files changed, 80 insertions, 0 deletions
diff --git a/3836/CH6/EX6.1/Ex6_1.sce b/3836/CH6/EX6.1/Ex6_1.sce
new file mode 100644
index 000000000..15706b948
--- /dev/null
+++ b/3836/CH6/EX6.1/Ex6_1.sce
@@ -0,0 +1,16 @@
+clear
+//Initialisation
+Ri=1000 //Input Resistance of amplifier in Ohm
+Rs=100 //Output Resistance of sensor in Ohm
+Rl=50 //Load Resistance
+Ro=10 //Output Resistance of amplifier in Ohm
+Av=10 //Voltage gain
+Vs=2 //Sensor voltage
+
+//Calculation
+Vi=Ri*Vs*(Rs+Ri)**-1 //Input Voltage of Amplifier
+Vo=Av*Vi*Rl*(Ro+Rl)**-1 //Output Voltage of Amplifier
+
+//Result
+printf("\n Ouput voltage of and amplifier = %.1f V",Vo)
+
diff --git a/3836/CH6/EX6.2/Ex6_2.sce b/3836/CH6/EX6.2/Ex6_2.sce
new file mode 100644
index 000000000..964f2cc31
--- /dev/null
+++ b/3836/CH6/EX6.2/Ex6_2.sce
@@ -0,0 +1,11 @@
+clear
+//Initialisation
+Vo=15.2 //Output Voltage of Amplifier
+Vi=1.82 //Input Voltage of Amplifier
+
+//Calculation
+Av=Vo/Vi //Voltage gain
+
+//Result
+printf("\n Voltage Gain, Av = %.2f",Av)
+
diff --git a/3836/CH6/EX6.3/Ex6_3.sce b/3836/CH6/EX6.3/Ex6_3.sce
new file mode 100644
index 000000000..69fcad3c4
--- /dev/null
+++ b/3836/CH6/EX6.3/Ex6_3.sce
@@ -0,0 +1,14 @@
+clear
+//Initialisation
+Av=10 //Voltage gain
+Vi=2 //Input Voltage of Amplifier
+Rl=50 //Load Resistance
+Ro=0 //Output Resistance of amplifier in Ohm
+
+
+//Calculation
+Vo=Av*Vi*Rl/(Ro+Rl) //Output Voltage of Amplifier
+
+//Result
+printf("\n Ouput voltage of and amplifier = %.1f V",Vo)
+
diff --git a/3836/CH6/EX6.4/Ex6_4.sce b/3836/CH6/EX6.4/Ex6_4.sce
new file mode 100644
index 000000000..aa17eabd2
--- /dev/null
+++ b/3836/CH6/EX6.4/Ex6_4.sce
@@ -0,0 +1,11 @@
+clear
+//Initialisation
+Vo=15.2 //Output Voltage
+Rl=50 //Load Resistance
+
+//Calculation
+Po=(Vo**2)/Rl //Output Power
+
+//Result
+printf("\n Output Power, Po = %.1f W",Po)
+
diff --git a/3836/CH6/EX6.5/Ex6_5.sce b/3836/CH6/EX6.5/Ex6_5.sce
new file mode 100644
index 000000000..958ef812f
--- /dev/null
+++ b/3836/CH6/EX6.5/Ex6_5.sce
@@ -0,0 +1,17 @@
+clear
+//Initialisation
+Vi=1.82 //Input Voltage of Amplifier
+Ri=1000 //Input Resistance of amplifier in Ohm
+Vo=15.2 //Output Voltage of Amplifier
+Rl=50 //Load Resistance
+
+
+//Calculation
+Pi=(Vi**2)*Ri**-1 //Input Power in Watt
+Po=(Vo**2)*Rl**-1 //Output Power in Watt
+Ap=Po/Pi //Power Gain
+
+
+//Result
+printf("\n Power Gain, Ap = %d",Ap)
+
diff --git a/3836/CH6/EX6.6/Ex6_6.sce b/3836/CH6/EX6.6/Ex6_6.sce
new file mode 100644
index 000000000..3ac7fb9cc
--- /dev/null
+++ b/3836/CH6/EX6.6/Ex6_6.sce
@@ -0,0 +1,11 @@
+clear
+//
+//Initialisation
+P=1400 //Power gain
+
+//Calculation
+pdb=10*log10(P) //Power Gain in dB
+
+//Result
+printf("\n Power Gain (dB) = %.1f dB",pdb)
+