summaryrefslogtreecommitdiff
path: root/761/CH3/EX3.4/3_4.sce
blob: 4b1ae7bf5a50a735dfc608ac83738f696e679f16 (plain)
1
2
3
4
5
6
7
clc;
//page no 110
//prob no 3.4
//refer fig 3.2
E_max=150; E_min=70;// voltages are in mV
m=(E_max-E_min)/(E_max+E_min);
disp(m,'The modulation index is');