summaryrefslogtreecommitdiff
path: root/1184/CH2/EX2.8/Ex2_8.sce
blob: 4be56a1d435bfe54d32d3d02817e21f3f2cc0a3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//Example 2-8, Page No- 38

clear 
clc

gain_dB = 40
pout_W= 100

pin_W = pout_W/10^4

printf('The input power is %.2f watt',pin_W);