* SPICE netlist
R1 N002 N001 3k
XU1 VI N001 VCC_OP VEE_OP N001 LT1001 ;pnba In+)In-)V+)V-)OUT
XU2 0 N002 VCC_OP VEE_OP VO LT1001 ;pnba In+)In-)V+)V-)OUT
R2 N003 N002 9k
R3 N004 N003 12k
R4 N005 N004 6k
R5 VO N005 3k
S1 N004 N003 N011 N006 MYSW
S2 N005 N004 N007 N008 MYSW
S3 VO N005 N009 N010 MYSW
V1 VCC_OP 0 5
V2 VEE_OP 0 -5
V3 N011 N006 0
V4 N007 N008 0
V5 N009 N010 0
V6 VI 0 SINE(0 0.2 1k)
.tran 0 5m 0
.meas Vorms RMS V(VO)
,meas VIRMS RMS V(VI)

* LTspice schematic (.asc)
Version 4
SHEET 1 1200 528
WIRE -360 -248 -360 -264
WIRE -72 -232 -72 -248
WIRE -136 -216 -184 -216
WIRE -184 -200 -184 -216
WIRE -72 -200 -72 -232
WIRE -360 -184 -360 -248
WIRE -136 -184 -136 -216
WIRE -104 -184 -136 -184
WIRE -392 -168 -600 -168
WIRE 472 -168 -40 -168
WIRE 600 -168 472 -168
WIRE -296 -152 -328 -152
WIRE -264 -152 -296 -152
WIRE -152 -152 -184 -152
WIRE -104 -152 -152 -152
WIRE -392 -136 -472 -136
WIRE -72 -120 -72 -136
WIRE -360 -88 -360 -120
WIRE -72 -88 -72 -120
WIRE -360 -56 -360 -88
WIRE -152 -40 -152 -152
WIRE -120 -40 -152 -40
WIRE 8 -40 -40 -40
WIRE 40 -40 8 -40
WIRE 136 -40 120 -40
WIRE 200 -40 136 -40
WIRE 312 -40 280 -40
WIRE 344 -40 312 -40
WIRE 472 -40 472 -168
WIRE 472 -40 424 -40
WIRE -472 8 -472 -136
WIRE -296 8 -296 -152
WIRE -296 8 -472 8
WIRE -504 72 -504 40
WIRE -408 72 -408 40
WIRE -280 88 -280 40
WIRE -504 104 -504 72
WIRE -408 104 -408 72
WIRE -280 104 -280 88
WIRE 8 104 8 -40
WIRE 40 104 8 104
WIRE 136 104 136 -40
WIRE 136 104 120 104
WIRE 200 104 136 104
WIRE 312 104 312 -40
WIRE 312 104 280 104
WIRE 344 104 312 104
WIRE 472 104 472 -40
WIRE 472 104 424 104
WIRE 120 152 104 152
WIRE 216 184 216 152
WIRE 216 184 184 184
WIRE 264 184 264 152
WIRE 296 184 264 184
WIRE 360 184 360 152
WIRE 360 184 328 184
WIRE 408 184 408 152
WIRE 440 184 408 184
WIRE 56 200 56 152
WIRE 56 200 8 200
WIRE -504 232 -504 184
WIRE -408 232 -408 184
WIRE -280 232 -280 184
WIRE 8 264 8 200
WIRE 40 264 8 264
WIRE 120 264 120 152
WIRE 184 264 184 184
WIRE 200 264 184 264
WIRE 296 264 296 184
WIRE 296 264 280 264
WIRE 328 264 328 184
WIRE 344 264 328 264
WIRE 440 264 440 184
WIRE 440 264 424 264
FLAG -184 -200 0
FLAG -600 -168 VI
IOPIN -48 144 In
FLAG 600 -168 VO
IOPIN 1152 144 Out
FLAG -408 232 0
FLAG -504 232 0
FLAG -504 72 VCC_OP
FLAG -408 72 VEE_OP
FLAG -280 232 0
FLAG -280 88 VI
FLAG -360 -88 VCC_OP
FLAG -72 -120 VCC_OP
FLAG -360 -248 VEE_OP
FLAG -72 -232 VEE_OP
SYMBOL res -168 -168 R90
SYMATTR InstName R1
SYMATTR Value 3k
SYMBOL OpAmps\\OP07 -360 -88 M180
SYMATTR InstName U1
SYMBOL OpAmps\\OP07 -72 -104 M180
SYMATTR InstName U2
SYMBOL res -24 -56 R90
SYMATTR InstName R2
SYMATTR Value 9k
SYMBOL res 136 -56 R90
SYMATTR InstName R3
SYMATTR Value 12k
SYMBOL res 296 -56 R90
SYMATTR InstName R4
SYMATTR Value 6k
SYMBOL res 440 -56 R90
SYMATTR InstName R5
SYMATTR Value 3k
SYMBOL sw 136 104 M270
SYMATTR InstName S1
SYMATTR Value MYSW
SYMBOL sw 296 104 M270
SYMATTR InstName S2
SYMATTR Value MYSW
SYMBOL sw 440 104 M270
SYMATTR InstName S3
SYMATTR Value MYSW
SYMBOL voltage -504 88 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL voltage -408 88 R0
SYMATTR InstName V2
SYMATTR Value -5
SYMBOL voltage 24 264 R270
SYMATTR InstName V3
SYMATTR Value 0
SYMBOL voltage 184 264 R270
SYMATTR InstName V4
SYMATTR Value 0
SYMBOL voltage 328 264 R270
SYMATTR InstName V5
SYMATTR Value 0
SYMBOL voltage -280 88 R0
SYMATTR InstName V6
SYMATTR Value SINE(0 0.2 1k)