blob: 57d8da13b773e9a883395fb628be5d06971e319b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//Chapter 17, Example 17.7
clc
//Initialisation
gm=72*10**-3 //in siemens
Rd=3.3*10**3 //resistance in ohm
//Calculation
b=-gm*Rd //gain of the circuit
//Results
printf(" Gain = %.1f\n",round(b))
|