% 0.1b1
% A Simple MOSFET analog amplifier
% Input voltage sources
Mvoltagesources sinwave 2 4
1 4
Ampl      f       delay     shift
.5        1       0.40      0.5
1 0 4
% P-Mosfet
Mpmosfet simple 4 3
1 3
k          Vth     rd 
-1e-4     -0.1     1e6
1 3 2 3 
END
% Power supply
Mvoltagesources DC  2 1
1 1
V
1
3 0 5
% Resistors
Mresistors LIN  2 1
1 1
R
1e5
2 0 
END

