blob: e8fdf531da13c61028db0da7711e415a70284dc4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
clear
//
//Introduction
gm=2*10**-3
rd=2*10**3 //resistance in ohm
C=10**-6 //capacitance in farad
R=10**6 //resistance in ohm
//Calculation
G=-gm*rd //Small signal voltage gain
fc=1/(2*%pi*C*R) //frequency in Hz
//Result
printf("\n Small signal voltage gain = %d ",G)
printf("\n Low frequency cut off = %.2f Hz",fc)
|