summaryrefslogtreecommitdiff
path: root/3554/CH7/EX7.1/Ex7_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3554/CH7/EX7.1/Ex7_1.sce')
-rw-r--r--3554/CH7/EX7.1/Ex7_1.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3554/CH7/EX7.1/Ex7_1.sce b/3554/CH7/EX7.1/Ex7_1.sce
new file mode 100644
index 000000000..5e3c80d31
--- /dev/null
+++ b/3554/CH7/EX7.1/Ex7_1.sce
@@ -0,0 +1,19 @@
+// Exa 7.1
+
+clc;
+clear all;
+
+// Given data
+// Referring to waveform shown in fig 7.50 on page 211
+
+V_attn= 0.5; // Vertical attenuator(V/div)
+div=3; // No of vertical divisions
+
+// Solution
+
+// Using equation : Vp-p=(volts/div) * (no. Of div/1);
+
+Vp_p=V_attn * div/1 ;
+
+printf(' The peak to peak amplitude of the signal = %.1f Volts \n',Vp_p);
+