//caption:Find amplitude of the waveform
//ex8.3
clc
clear
close
V=5//vertical attenuation(in V/division)
n=2.5//number of divisions/cycle
P=V*n
disp(P,'amplitude of the waveform(in V)=')