//Example 8_1 page no:297 clc; Xl=25;//inductive reactance in ohm Xc=Xl;//inductive capacitance at resonance in ohm R=50;//resistance in ohm Z=R;//impedence at resonance disp(Xc,"capacitive reactance is (in ohm)"); disp(Z,"impedance at resonance is (in ohm)");