summaryrefslogtreecommitdiff
path: root/3836/CH6/EX6.2/Ex6_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3836/CH6/EX6.2/Ex6_2.sce')
-rw-r--r--3836/CH6/EX6.2/Ex6_2.sce11
1 files changed, 11 insertions, 0 deletions
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)
+