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

