summaryrefslogtreecommitdiff
path: root/2528/CH1/EX1.6/Ex1_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '2528/CH1/EX1.6/Ex1_6.sce')
-rwxr-xr-x2528/CH1/EX1.6/Ex1_6.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/2528/CH1/EX1.6/Ex1_6.sce b/2528/CH1/EX1.6/Ex1_6.sce
new file mode 100755
index 000000000..0c115a49e
--- /dev/null
+++ b/2528/CH1/EX1.6/Ex1_6.sce
@@ -0,0 +1,13 @@
+// Chapter 1
+//Amplifier Gain
+//page 17
+//Example no 1-6
+//Given
+clc;
+G1=26; //in dB
+Vin=0.01; //in volt
+G=10^(G1/20);
+printf("\n The ordinary power gain %.2f \n",G); // Result
+Vout=Vin*G;
+printf("\n The output voltage is %.4f V\n",Vout); // Result
+