//ex3.6 V_Z=12; V_IN=24; I_ZK=1*10^-3; I_ZM=50*10^-3; Z_Z=0; R=470; //when I_L=0, I_Z is max and is equal to the total circuit current I_T I_T=(V_IN-V_Z)/R; I_Z_max=I_T; if I_Z_max