clc; //page no 260 //prob no. 8.5.1 //A carrier with fc=10MHz & vp=10V modulated with fm=5kHz & Vm=6V fc=10*10^6;//Carrier freq fm=5*10^3;//Modullating freq vp=10;vm=6; //Determination of modulation index m=vm/vp; disp(m,'The modulation index is');