summaryrefslogtreecommitdiff
path: root/3554/CH7/EX7.1/Ex7_1.sce
blob: 5e3c80d31507b502a2c9d06c7aa04c15cc00bb5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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);