summaryrefslogtreecommitdiff
path: root/1184/CH2/EX2.1/Ex2_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '1184/CH2/EX2.1/Ex2_1.sce')
-rwxr-xr-x1184/CH2/EX2.1/Ex2_1.sce6
1 files changed, 6 insertions, 0 deletions
diff --git a/1184/CH2/EX2.1/Ex2_1.sce b/1184/CH2/EX2.1/Ex2_1.sce
new file mode 100755
index 000000000..52d39c1f5
--- /dev/null
+++ b/1184/CH2/EX2.1/Ex2_1.sce
@@ -0,0 +1,6 @@
+clc
+clear
+vout=750*10^-3
+vin = 30*10^-6
+gain=vout/vin
+printf('The Voltage gain of the amplifier is %.1f',gain)