//Caption:Program to calculate total power in the modulated signal.
//Exa:2.1
clc;
clear;
close;
//Given:
Pc=500;//poer of carrier
m=0.50;//depth
Pt=Pc*(1+(m^2)/2)
printf("\n\n\t total power of modulated signal = %f W ",Pt);