//Caption:Program to calculate power of carrier signal.
//Exa:2.1
clc;
clear;
close;
//Given:
Pt=20000;//total power 
m=0.50;//depth
Pc=Pt/(1+(m^2)/2)*10^-3;
printf("\n\n\t power of carrier signal = %f kW ",Pc);