1 2 3 4 5
clear; clc; Rl=3;z11=5;z12=2;z21=2;z22=1; Zi=z11-(z12/z21); printf("Input impedance = %f ohms",Zi);