summaryrefslogtreecommitdiff
path: root/2528/CH1/EX1.6
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2528/CH1/EX1.6
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 '2528/CH1/EX1.6')
-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
+