summaryrefslogtreecommitdiff
path: root/1184/CH2/EX2.2/Ex2_2.sce
blob: 8393950e70d1a5a157fabe2e978d8c29f5f3942e (plain)
1
2
3
4
5
6
7
8
9
10
//
clear
clc

pout=6
power_gain=80

pin=pout/power_gain

printf('The input power of the sigmal is %.1f mW',pin*1000)