summaryrefslogtreecommitdiff
path: root/2885/CH8/EX8.3/ex8_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '2885/CH8/EX8.3/ex8_3.sce')
-rwxr-xr-x2885/CH8/EX8.3/ex8_3.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2885/CH8/EX8.3/ex8_3.sce b/2885/CH8/EX8.3/ex8_3.sce
new file mode 100755
index 000000000..db89fcc9d
--- /dev/null
+++ b/2885/CH8/EX8.3/ex8_3.sce
@@ -0,0 +1,15 @@
+//Calculate the overall voltage gain
+clear;
+clc;
+//soltion
+//given
+
+A1=80
+A2=50
+A3=30
+Ad=20*log10(A1)+20*log10(A2)+20*log10(A3);;
+
+//Alternatively
+A=A1*A2*A3;
+Ad=20*log10(A);
+printf("The Voltage gain is %.2f dB",Ad);