summaryrefslogtreecommitdiff
path: root/1184/CH2/EX2.3/Ex2_3.sce
blob: f09c5b5fb26ea23650b4645291fa4d9e94f0fb4f (plain)
1
2
3
4
5
6
7
8
9
10
clc;
clear;
A1=5;
A2=2;
A3=17;
total_gain=A1*A2*A3;
pin= 40*10^-3;
pout=total_gain*pin;
printf('The output power is %.1f watts',pout);