//example 5.3 clc; funcprot(0); // Initialization of Variable Vgs=-5;//voltage printf('MOSFET is IRF530N') Vthl=-4; Vthu=-2; disp(Vthl,"lower limit of Vth in V:") disp(Vthu,"upper limit of Vth in V:") Id=2.3;//current disp(Id,"Id in A:") clear()