1 2 3 4 5 6 7 8
//Example_a_5_16 page no:215 clc; Vmax=2000; Itmax=45; Irmax=20; Ix=Itmax-Irmax; R=Vmax/Ix; disp(R,"the value of unknown resistor is (in ohm)");