* SPICE netlist
Q1 rama1 rama1 P001 0 2N3906
Q2 N003 rama1 P002 0 2N3906
Q3 rama1 Vref N004 0 2N3904
Q4 N003 Vf N004 0 2N3904
QBD136 N001 N002 VIN 0 PNP
R5 Vo Vf 2.5k
R6 Vf 0 2.5k
V1 Vref 0 2.5
VIN VIN 0
R2 VIN P001 2.2k
R3 VIN P002 2.2k
R4 N001 vb7 1k
R7 vb7 0 2.32k
R8 Vo N001 1.97
Q7 N003 vb7 Vo 0 2N3904
QBD135 N002 N003 N001 0 NPN
Q5 N004 N006 N008 0 2N3904
Q6 N008 N007 0 0 2N3904
Q8 N006 N006 N007 0 2N3904
Q9 N007 N007 0 0 2N3904
R1 N006 N005 3.3k
V2 N005 0 2.5
RL Vo 0 3.3
.op
.param VINDC 12
.param VINAC 1
;dc VIN 4 24
.meas DC Vo1rl FIND V(Vo) AT=12
.meas DC Vo2rl FIND V(Vo) AT=24
.meas DC RegLin PARAM ((Vo2rl-Vo1rl)/12)
.meas OP Vo1rc FIND V(Vo) AT 100
.meas OP Vo2rc FIND V(Vo) AT 5
.meas OP Io1rc FIND I(RL) AT 100
.meas OP Io2rc FIND I(RL) AT 5
.meas OP RegCar PARAM (-(Vo2rc-Vo1rc)/(Io2rc-Io1rc))
;dc I1 10m 1.5 0.001
.dc VIN 9 9.7 10m

* LTspice schematic (.asc)
Version 4
SHEET 1 1760 1024
WIRE -384 -496 -720 -496
WIRE -160 -496 -384 -496
WIRE 160 -496 -160 -496
WIRE 304 -496 256 -496
WIRE 416 -496 304 -496
WIRE 544 -496 416 -496
WIRE 656 -496 624 -496
WIRE 752 -496 656 -496
WIRE 880 -496 752 -496
WIRE 416 -448 416 -496
WIRE -272 -368 -320 -368
WIRE -224 -368 -272 -368
WIRE 208 -336 208 -432
WIRE 304 -336 304 -496
WIRE 416 -336 416 -368
WIRE 544 -336 416 -336
WIRE 576 -336 544 -336
WIRE 752 -336 752 -496
WIRE 416 -320 416 -336
WIRE 576 -304 576 -336
WIRE -720 -288 -720 -496
WIRE -384 -288 -384 -320
WIRE -272 -288 -272 -368
WIRE -272 -288 -384 -288
WIRE -160 -256 -160 -320
WIRE 256 -256 256 -272
WIRE 256 -256 -160 -256
WIRE 656 -256 656 -496
WIRE -384 -240 -384 -288
WIRE 656 -240 656 -256
WIRE 656 -240 624 -240
WIRE 416 -224 416 -240
WIRE -384 -208 -384 -240
WIRE -160 -208 -160 -256
WIRE 880 -208 880 -496
WIRE 256 -192 256 -256
WIRE 528 -192 528 -240
WIRE 528 -192 256 -192
WIRE -448 -160 -512 -160
WIRE -96 -160 -112 -160
WIRE 640 -160 -96 -160
WIRE 752 -160 752 -256
WIRE 752 -160 640 -160
WIRE 752 -128 752 -160
WIRE -512 -112 -512 -160
WIRE -384 -80 -384 -112
WIRE -272 -80 -384 -80
WIRE -160 -80 -160 -112
WIRE -160 -80 -272 -80
WIRE -752 16 -880 16
WIRE -752 48 -752 16
WIRE -720 64 -720 -208
WIRE -608 64 -720 64
WIRE -512 64 -512 -32
WIRE -512 64 -608 64
WIRE 752 64 752 -48
WIRE 816 64 752 64
WIRE 880 64 880 -128
WIRE 880 64 816 64
WIRE -880 80 -880 16
WIRE -608 96 -608 64
WIRE 816 96 816 64
WIRE -512 128 -752 128
WIRE -400 128 -512 128
WIRE -512 144 -512 128
WIRE -272 144 -272 -80
WIRE -400 192 -400 128
WIRE -400 192 -448 192
WIRE -336 192 -400 192
WIRE -880 208 -880 160
WIRE -512 288 -512 240
WIRE -416 288 -512 288
WIRE -512 352 -512 288
WIRE -272 352 -272 240
WIRE -416 400 -416 288
WIRE -416 400 -448 400
WIRE -336 400 -416 400
WIRE -512 480 -512 448
WIRE -400 480 -512 480
WIRE -272 480 -272 448
WIRE -272 480 -400 480
WIRE -400 512 -400 480
FLAG 880 -496 Vo
FLAG -512 -160 Vref
FLAG -720 -496 VIN
FLAG 640 -160 Vf
FLAG 416 -224 0
FLAG -384 -240 rama1
FLAG 544 -336 vb7
FLAG 656 -256 ve7
FLAG -400 512 0
FLAG -608 96 0
FLAG 816 96 0
FLAG -880 208 0
DATAFLAG 208 384 ""
DATAFLAG 80 640 ""
DATAFLAG -64 592 ""
SYMBOL pnp -320 -320 R180
SYMATTR InstName Q1
SYMATTR Value 2N3906
SYMBOL pnp -224 -320 M180
SYMATTR InstName Q2
SYMATTR Value 2N3906
SYMBOL npn -448 -208 R0
SYMATTR InstName Q3
SYMATTR Value 2N3904
SYMBOL npn -96 -208 M0
SYMATTR InstName Q4
SYMATTR Value 2N3904
SYMBOL pnp 256 -432 M270
SYMATTR InstName BD136
SYMBOL res 736 -352 R0
SYMATTR InstName R5
SYMATTR Value 2.5k
SYMBOL res 736 -144 R0
SYMATTR InstName R6
SYMATTR Value 2.5k
SYMBOL voltage -512 -128 R0
SYMATTR Value 2.5
SYMATTR InstName V1
SYMBOL voltage -720 -304 R0
SYMATTR Value ""
SYMATTR InstName VIN
SYMBOL res -400 -512 R0
SYMATTR InstName R2
SYMATTR Value 2.2k
SYMBOL res -176 -512 R0
SYMATTR InstName R3
SYMATTR Value 2.2k
SYMBOL res 400 -464 R0
SYMATTR InstName R4
SYMATTR Value 1k
SYMBOL res 400 -336 R0
SYMATTR InstName R7
SYMATTR Value 2.32k
SYMBOL res 640 -512 R90
SYMATTR InstName R8
SYMATTR Value 1.97
SYMBOL npn 528 -304 M90
SYMATTR Value 2N3904
SYMATTR InstName Q7
SYMBOL npn 208 -272 R270
SYMATTR InstName BD135
SYMBOL npn -336 144 R0
SYMATTR InstName Q5
SYMATTR Value 2N3904
SYMBOL npn -336 352 R0
SYMATTR InstName Q6
SYMATTR Value 2N3904
SYMBOL npn -448 144 M0
SYMATTR InstName Q8
SYMATTR Value 2N3904
SYMBOL npn -448 352 M0
SYMATTR InstName Q9
SYMATTR Value 2N3904
SYMBOL res -736 144 R180
SYMATTR InstName R1
SYMATTR Value 3.3k
SYMBOL voltage -880 64 R0
SYMATTR InstName V2
SYMATTR Value 2.5
SYMBOL res 864 -224 R0
SYMATTR InstName RL
SYMATTR Value 3.3